Commit Graph

415 Commits

Author SHA1 Message Date
ef670259c7 Use sal/log.hxx instead of fprintf
...and some clean-up.

Change-Id: Ia958628a3d0fdada3f8e90cfc0b0ceaa45563206
2012-11-16 14:57:12 +01:00
fc45189c7a Replace medDebug with sal/log.hxx functionality
Change-Id: I30bf94043b5b638260704629356d010c8ea6b4e0
2012-11-15 18:15:43 +01:00
616023b7a7 Use prefix
Change-Id: Ica989983b36ff4df7f6d6ab529c3bc0efef984e1
2012-10-01 23:05:37 +03:00
03a9f139bd ComponentContext::getUnoContext -> getComponentContext simplification
...and some further clean-up.

Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-19 13:16:38 +02:00
9ac86f484b Improvement on previous commit, UCB clean up
* As UCB is only ever initialized with "Local"/"Office", remove this
  configuration vector completely.  The "create" ctor creates an instance
  internally initialized with those "Local"/"Office" keys.  Special (test) code
  can still instantiate an uninitialized one via plain createInstance.  And for
  backwards compatilibity process startup still ensures to create an initialized
  instance early, in case there is still code out there (in extensions) that
  later calls plain createInstance and expects to get the already-initialized
  (single) instance.

* XInitialization is an "implementation detail" of the UniversalContentBroker
  service, do not expose in XUniversalContentBroker.

* ucbhelper/configurationkeys.hxx is no longer needed and is removed.

* ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that
  requires ucbhelper::Content constructors to take explicit XComponentContext
  arguments now.

* The only remaining code in ucbhelper/source/client/contentbroker.cxx is
  Android-only InitUCBHelper.  Is that relevant still?

Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14 18:24:49 +02:00
a767448225 Search for char instead of 1 char long string, when possible.
It is faster and even avoid memory allocation somtimes.

Change-Id: Ic12ff70e95953de44ef5798131150669d07a5445
2012-07-13 16:36:04 +02:00
023513fb71 Remove unused #includes
Change-Id: I041feabb7ee94b33caebb67a380b8f3694d09e82
2012-07-13 13:55:23 +02:00
f0c7544df9 nuke dead code
Change-Id: I0ea47ee535ba0e903bae0de227acd311ca96aa03
2012-06-06 23:05:59 +09:00
be733676d3 -Werror,-Wsemicolon-before-method-body (Clang)
Change-Id: I1e4d7f1a719712d9665d30bab756ba5b0feaddad
2012-06-06 14:02:11 +02:00
b3c76dee6d fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update calls to factories to use new ::create methods

Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-04 16:57:55 +02:00
601500f8a8 targeted string re-work
Change-Id: I6ce76c22118586b213161a0e307a53b22b318004
2012-05-29 19:30:23 -05:00
b686bab2e3 WaE: return value of fwrite unchecked
Change-Id: I83ecc3ef45eb411741db4b4ff20982bff1709d99
2012-05-25 09:26:14 +01:00
76cc8aca42 WaE: unchecked results from write/fwrite
Change-Id: Ia7943a132d05e596550bd71878b54b2825c31987
2012-05-03 22:34:17 +01:00
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
23af031b09 Fix typos in comments 2012-02-18 09:35:43 +00:00
69eede0409 Remove unused code. 2012-02-17 17:37:17 +00:00
cd24d2524f extensions: plugin: UNX: don't crash headless 2012-02-13 00:25:05 +01:00
43cb934dda extensions: plugin: assertion from OUString::copy 2012-02-13 00:25:05 +01:00
04b8bac4a9 finalize gcc 4.7 string literal operators 2012-01-24 10:21:13 +01:00
52118dae64 avoid warnings about deprecated decls. from glib2 2012-01-15 20:27:29 +01:00
265f061458 WaE: deleting object of abstract class type with non-virtual destructor 2012-01-15 20:27:28 +01:00
134803653f tweak makefiles after np_sdk is in tail_build
Also change <npsdk/npapi.h> to "npapi.h"
2012-01-11 20:20:17 +01:00
14da1611e8 extensions: plugin: mac unused param warnings 2012-01-10 10:38:41 +01:00
bec239e847 extensions: plugin: fix build a bit more on Mac 2012-01-10 10:38:41 +01:00
8f46815969 extensions: plugin: try to fix Mac build:
Move everything that requires ObjectiveC stuff to the ObjC++ files in
the aqua subdirectory, where it belongs.
2012-01-09 18:53:18 +01:00
29f897054d extensions/Library_pl: move macmgr.cxx -> macmgr.mm 2012-01-09 12:42:35 +01:00
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
23dd856d3c Merge branch 'feature/gbuild_extensions'
Conflicts:
	extensions/source/ole/servreg.cxx
	extensions/source/plugin/util/makefile.mk
	postprocess/packcomponents/makefile.mk
	postprocess/prj/build.lst
	tail_build/prj/build.lst
2012-01-06 21:09:13 +01:00
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
bacfd2dc4c add a comphelper::string::getTokenCount
suitable for conversion from [Byte]String::GetTokenCount
converted low-hanging variants to rtl::O[UString]::getToken loops
added unit test
2012-01-05 09:18:19 +00:00
fd66491759 Merge remote-tracking branch 'origin/master' into feature/gbuild_extensions
Conflicts:
	Module_tail_build.mk
	Repository.mk
	extensions/util/makefile.pmk
	postprocess/prj/build.lst
	svx/AllLangResTarget_svx.mk
2011-12-24 09:44:24 -05:00
0fd40fe17b Fix for fdo43460 Part XVI getLength() to isEmpty()
Part XVI
Module
extensions
2011-12-23 09:36:43 +01:00
fc75a11371 extensions: tweaks to the plugin makefiles 2011-12-17 22:11:57 +01:00
a80a5ab4f6 extensions: convert plugin to gbuild 2011-12-17 22:11:57 +01:00
93a9f170be catch exception by constant reference 2011-12-10 22:16:07 +09:00
0a96c1f4f4 remove include of pch header in extensions 2011-11-27 13:08:28 -06:00
fba911fea7 gsl_getSystemTextEncoding -> osl_getThreadTextEncoding 2011-11-25 09:07:49 +01:00
5709102278 Getting completely rid of the int32 and whatever 2011-11-09 11:53:28 +01:00
c2960a3525 int16/32 ->int16/32_t fall-out of new npapi.h 2011-11-08 23:54:57 -06:00
68beee8344 fix build against new npapi.h (yet more), blind fixes for aqua too 2011-11-08 16:03:12 +00:00
60de6b0fd2 Fix Windows build of extensions 2011-11-08 14:27:01 +01:00
d448b59e4b fix build against new npapi.h (some more) 2011-11-08 12:36:08 +00:00
cfe3d74c60 fix build against new npapi.h 2011-11-08 10:01:44 +00:00
0a590fc4f0 make extensions ByteString free 2011-11-07 12:27:32 +00:00
9fe5f46025 Undo basis/brand split: moved pluginapp.bin from basis to brand. 2011-10-24 13:59:54 +02:00
0dcaf6c629 ByteString->rtl::OStringBuffer 2011-09-26 10:18:39 +01:00
d98ac11f39 Remove component_getImplementationEnvironment 2011-07-12 11:27:22 +02:00
94a0ea6b9e Merge commit 'libreoffice-3.4.0.2' 2011-05-30 13:12:13 +02:00
fe89019399 Remove OS/2 support 2011-04-30 08:41:29 +02:00
d340231433 build-fix-xulrunner-npapi-inc.diff: build with xulrunner-1.9.1 2011-04-28 18:12:31 +02:00