Commit Graph

2679 Commits

Author SHA1 Message Date
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
02a7dfb729 tweak for commit 8181dddb7bf166be4a00e9280d52f8d7a1741290 fdo#42492
avoid char buffer and snprintf.

Change-Id: Ia83cfc9333591bcb3b191679ccf2be587b4be243
2012-07-31 14:27:42 +01:00
556720fcdd fdo#42492: fixing Basic HEX command
Change-Id: I133590c9f2a34d8daab031da0c77bd049d275c29
2012-07-31 14:27:42 +01:00
747cb47357 remove unnecessary includes of svl/svarray.hxx
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-07-30 12:47:50 +01:00
0bdf6fc7c7 Bug 48549 - System::Beep() removal
Change-Id: I011048912af051a762a78af8646513a1fc624073
2012-07-30 05:20:02 +02:00
6a94d7b5c9 basic, cui, extensions, filter, vcl: fix some warnings 2012-07-27 17:50:22 +02:00
0f6101cfef fdo#48549 System::Beep() removal
Change-Id: I8fe133dd8d1f759fbe21d47ae358c0b5451812b5
2012-07-23 15:12:44 +01:00
6a45bc96f9 very suspicious combination of used SbxValues and unused aRes
Looks like a regression from 4d949990ef1438fcae98262519c6af2b47e5ccf5 where for
every other case we did...

-    XubString aRes;
+    ::rtl::OUString aRes;
     aTmp.eType = SbxSTRING;
-    aTmp.pString = &aRes;
+    aTmp.pOUString = &aRes;

while for this case we did only...

     SbxValues aTmp;
     XubString aRes;
     aTmp.eType = SbxSTRING;
-    aTmp.pString = &aRes;

Change-Id: I106cfbcc0fc0b27a9adcbb243d0d69c65b167005
2012-07-20 16:26:47 +01:00