Commit Graph

2686 Commits

Author SHA1 Message Date
eebc9748d2 Fix MSVC build: #undef EXPLICIT (which gets defined as 'explicit' somewhere)
Change-Id: I83f6dff2a01d6d7806b2d2f4e6415aee10933e14
2012-09-25 11:50:56 +03:00
750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
991b8394ff replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: Id10a6cef0ae25247ded7846dfd7df27922a9410a
2012-09-21 19:10:12 +09:00
03a9f139bd ComponentContext::getUnoContext -> getComponentContext simplification
...and some further clean-up.

Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-19 13:16:38 +02:00
b854de954f deprecate oustringostreaminserter.hxx
the intent of this header has canged over time. now it is already
systematically included with ustring.hxx and the operator overload it
provide fit nicely there...

Just to be safe, since that include as been added to the api during the
3.5 timeframe and therefore is already in 'production'
the header remain and simply attempt to include ustring.hxx
but a warning is issued indicating that this header should not be used
anymore... in a couple of major release we will thenr emove it completely

All internal users of that header are converted.

Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad
Reviewed-on: https://gerrit.libreoffice.org/634
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-18 10:10:06 +00:00
f88c4a5bc1 dung out namespacing clutter.
Change-Id: I14794ca0cd2a8ea84ba41e1dc689503647696e3a
2012-09-17 16:30:45 +01:00
900d60b3cd fdo#46808, Adapt bridge::BridgeFactory UNO service to new style
Create a merged XBridgeFactory2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Change-Id: I7309f4d30f0e772bc203c701eb3407b920ffafcc
2012-09-17 14:28:22 +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
2e284203da fdo#46808, Adapt ucb::UniversalContentBroker UNO service to new style
Create a merged XUniversalContentBroker interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Change-Id: Id264387bf8af8bf211050e15b8801a1fde368167
2012-09-14 18:24:48 +02:00
9422195fd3 -Werror=unused-parameter
Change-Id: I2a83ecd010c2d85b5596172102d24b5063ace159
2012-09-12 17:18:40 +02:00
ce9cb99d0b fix build issue 2012-09-12 14:36:24 +01:00
4597483e00 targetted VBA re-work. 2012-09-12 12:49:49 +01:00
ed2ad96382 kill stray line from commit:c0c7fb66985a9a3e8f9b7a796c1e0489e407879b fdo#52076
Change-Id: I715c4a7caeb48e605babd9a91e2c10e5847cbd09
2012-09-11 13:02:48 +01:00
c0c7fb6698 fix for fdo#52076 don't write out basic storage if no modules
Change-Id: I50908f7f6b4c9a146e4a2fe616d000e1ee7e36fe
2012-09-11 10:29:46 +01:00
986a0f4eab fdo#54718 fix opcode detection in basic resulting in failed/unregcognized code
fix is followup to bf5b493104d2dd4ab964f1fcb845200eaefbbcd5 which didn't adjust the runtime to
cater for the new enum layout

Change-Id: I6613fb8aacd8a70947c4fff556fb3e2d33c1113e
2012-09-10 11:15:22 +01:00
969e6870e8 sal_Bool to bool
Change-Id: I86e5b49ccc9737517ecde17dbdaba44eeaee2371
2012-09-08 23:05:11 +09:00
00b7328732 sal_Bool to bool
Change-Id: Ie8a128db35bebcdcee5eda984a7875339418d9bb
2012-09-07 09:57:39 +09:00
24391f6057 Some clean up of previous commit
Change-Id: I14097acf09e9663af7d7abc5f0c9d481880ecc51
2012-09-05 14:56:19 +02:00
1c7a54e3a1 fdo#46808, Adapt frame::ModuleManager UNO service to new style
Create a merged XModuleManager2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Explicitly document the XNameReplace interface in the IDL, which
is already implemented by the service, since there is code currently using it.

Change-Id: Ib46349174b1ce495c240031e93c9427fc33d9853
2012-09-05 14:56:19 +02:00
cfa6f85242 sal_Bool to bool
Change-Id: Iebed1c159606ab695b049032da5a3509e468fb91
2012-09-05 10:40:17 +09:00
cbba41823a String::Expand -> string::padToLength
Change-Id: I684e371c31ba76d2e9b563eed70449764346161b
2012-08-29 11:43:50 +01:00
9e2f8b9ec2 Fix typo ImpLoadLibary
Change-Id: I773678437aae6577f22078e97bcac1377c4307d8
Reviewed-on: https://gerrit.libreoffice.org/495
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-08-28 19:53:36 +00:00
71c1de8f01 Remove unused member variable
Its reference through IsFoundInPath() was dropped at 4c3f33d8d54756d3988c4d4c848712b31027f919

Change-Id: I764808d8a59089a05eccedd297a61aa6e76b01e0
2012-08-28 00:20:47 +09:00
6ce769a1ad Remove useless member variable
Its usage was died at ac25ae2544969f57b0c3d51a7ee9e3eb047a8915

Change-Id: Ic98a0c36ceb02259b4f3b890f5ea701e56adbb68
2012-08-28 00:20:47 +09:00
8638f1e72a fdo#46808, Adapt script::Converter service code to new style
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-27 15:40:07 +02:00
55899d7f5f fix for fdo#54046
fix case where the value is neither uno object or unostruct

Change-Id: I2862ab23a875a691edb202bb9d334b000871f718
2012-08-27 10:53:36 +01:00
911e412b87 sal_Bool to bool
Change-Id: I96fe31c80f952b1ac6d25c65431597d81e0fdda3
2012-08-24 12:58:56 +09:00
407509c058 sal_Bool to bool
Change-Id: I75dd089b34c94831bfdfd0e02585af7609013a08
2012-08-22 19:25:08 +09:00
0c89907c83 Remove dead code
Change-Id: Ib5e794495b542ed96b5424d1aec38c4dd60ae182
2012-08-22 19:25:08 +09:00
1fd7816b71 Remove unused function
Change-Id: I1888bb21ad55f919a25a96b5c8090d1194be51de
2012-08-22 19:25:08 +09:00
2efc59c9b6 sal_Bool to bool
Change-Id: I38141187c4f0809343a93c5765c0773d2321968a
2012-08-21 22:59:16 +09:00
c2ead1e76e Remove unused function
Change-Id: Ifd6ba71e0ab13f9ad0e86f3e770ae1a6ace336e1
2012-08-21 22:59:16 +09:00
a8647dd030 sal_Bool to bool
Change-Id: I427e9bb30cab4698a2495de7445a4a4982abd7b4
2012-08-20 09:47:25 +09:00
38f3fe0432 sal_Bool to bool
Change-Id: I6206ee7e17e12388ea644123e180842df3e3a7ee
2012-08-19 17:55:27 +09:00
0d5d4bacb2 Remove unused member variable
its usefulness was gone at ac25ae2544969f57b0c3d51a7ee9e3eb047a8915

Change-Id: I606cd4adb6dc92cc6d981e1da7ce3ecf2160c28e
2012-08-17 09:49:44 +09:00
27f4f9ae8f -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: Ia6f5bf7c3372515c2796d239aeb610fbe6f29f8d
2012-08-16 09:46:59 +02:00
dfe544c87b sal_Bool to bool
Change-Id: I784fb31bad1ff02987c24abbac04b38207a1f5cf
2012-08-15 09:45:49 +09:00
65095170ff Remove declared but not defined function
Change-Id: I74836b55375a6e2e57a989234bacf7186325b33e
2012-08-14 07:37:19 +09:00
1f224b02c8 sal_Bool to bool
Change-Id: Idb5ef3cebdd45bd91f7c0ae34e422fd651d395c9
2012-08-14 07:37:19 +09:00
533194a6b3 bErrors was always true
Change-Id: I193029e1fb2434161679498fa0ba7e1c7c0ab3ba
2012-08-12 09:16:59 +09:00
1817cf60d1 sal_Bool to bool
Change-Id: I61a6675df622232923a827fc20bf121dd03cd7da
2012-08-12 09:16:58 +09:00
414ecabbd5 Remove useless #ifndef guard
Change-Id: Iddb666611ff11db0912832a73bd8b95438985383
2012-08-09 22:33:03 +09:00
2eb40e3cec Remove a member variable no one reads
Change-Id: Iacb037bebaf1c3d77ab61be6342b42319b8a2e7b
2012-08-09 22:33:03 +09:00
16f75f1f77 reduce static_initialization_and_destruction chain
Change-Id: I9fdefd428b858fd5581412d6f8e896a0eb680fef
2012-08-09 12:47:03 +01:00
aac04652fd String::AllocBuffer replacements
Change-Id: I278cd66fb4819721bb473796c28598aaf04eb123
2012-08-07 16:14:45 +01:00
69a70bf028 Remove forwards of non-existing structs
Change-Id: Ie1d7ed56c69539587df5310c0a1ea0476abd5542
2012-08-07 13:45:27 +02:00
df579b1f66 Fix "Boolean result is used in bitwise operation"
Change-Id: Ifed0d87da3ac5bd19a0285f1074f2eeec5717f05
2012-08-06 16:45:47 +02:00
7b75535e28 Remove declared but not defined functions
Change-Id: I583dc4043b471f741711693b32b16348bb1c8360
2012-08-03 23:45:06 +09:00
621145a777 sal_Bool -> bool
Change-Id: I49749f327d6a9c3661ef9bd684647e0a45b9203a
2012-08-03 10:29:31 +09:00
7910718259 Remove unused code: those classes are unused
Change-Id: Ibf41655d40c9534629bbb0dd5ae600791b42922d
2012-08-01 18:34:46 +02:00