Commit Graph

588 Commits

Author SHA1 Message Date
5837402fb1 fdo#46808, use service constructor for ucb::SimpleFileAccess
I upgraded the service to return XSimpleFileAccess3, since it
already implemented that interface, and it's backwards
compatible.

Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
2012-11-15 08:28:44 +01:00
74670bf04e fdo#56818 Work around deadlock caused by differing lock orders
Change-Id: Iaabe36bf0c1f051f9cebc2b65e614063698959fa
2012-11-07 16:16:40 +01:00
33a0f8ce65 fdo#46808, Adapt awt::Toolkit UNO service to new style
Create a merged XToolkit2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Also mark sub-interfaces as non-optional.

Change-Id: I278d0288e92be277033013302267cf93f7d70480
2012-10-24 16:49:49 +02:00
393588ce8e Use prefix
Change-Id: I28607f54eb06912ab1d27d80813d54cb6faa7771
2012-10-01 23:05:36 +03:00
c2ca6fabd1 Use comphelper::getComponentContext
...and some further clean up.

Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-29 18:18:28 +02:00
286a7733ac re-base on ALv2 code. 2012-09-29 15:07:42 +01: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
03a9f139bd ComponentContext::getUnoContext -> getComponentContext simplification
...and some further clean-up.

Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-19 13:16:38 +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
de16a4e0cc Some builds seem to require a prefixed "system" here
... MacOSX-Intel@1-built_no-moz_on_10.6.8 complained with "oleembed.cxx:881:
error: "system" has not been declared"; and see previous
88d7f9fbe416d0f4c5edc4a9b5c9560d1d82167b "fwk139: #i10000# adopt for linux."

Change-Id: Ibd6f6aae69a7fcca7a60a85ed2d82dd5e775deea
2012-09-03 16:46:08 +02:00
bc00717bb7 fdo#46808, Adapt system::SystemShellExecute UNO service to new style
Change-Id: Ib298b3219c3e89dd35bce0974846ed4888ed941e
2012-09-03 15:55:05 +02:00
10362695c2 fdo#46808, Adapt ModuleUIConfigurationManagerSupplier UNO service to new style
Change-Id: I58b17349474b974edd24aa17ec08ffa848a92ae9
2012-09-03 15:55:03 +02:00
d93fdcf391 add more component prefixes
Change-Id: I3afe59a6326b9e5cb26c39a82d7aabdb05cc2b7e
2012-09-01 21:06:11 +02:00
3748a0534e Removed private fields were acutally used #ifdef WNT
Change-Id: I0c4d70884d8735eb6941bc252d0aad838c80fd38
2012-08-31 09:50:06 +02:00
b7ea1c0d74 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I1badf39ddd5c7fc05657d21f17d7775503617b19
2012-08-31 09:04:15 +02:00
2489e82d33 Missing #include 2012-08-27 17:24:34 +02:00
206c70eef3 fdo#46808, Adapt TempFile UNO service to new style
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27 15:40:08 +02:00
cf239da5c4 There is not need to allocate memory just for getting the 'indexOf'
a literal within a OUString.

Change-Id: Icc8e22c43f6ddca25cb284a3d45ab39680ad6d1f
2012-08-06 12:22:10 +01:00
eecb5ac9a4 removed useless forward declarations of class
Change-Id: I13cf52cc4e1cf8d5e2453d7ac4b68cc8c64cd011
2012-07-05 19:08:02 +09:00
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
4019acf297 cppcheck: avoid unreachable code warnings
Change-Id: I1d126eb10bfebc747d4bb6d153b80abe73a1e81e
2012-06-12 12:08:33 +01:00
38a809d949 embeddedobj: try to make MSVC happy
Change-Id: I0d3f032309fe5aa1c4a33909cbc0e00a22196aa9
2012-06-06 13:21:18 +02:00
d08578912f fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update calls to factories to use new SimpleFileAccess::create method

Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:01:22 +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
f039cd3e48 WaE: unused parameter 2012-04-16 20:23:01 +02:00
a6fd4d1d8b WaE: initialization order 2012-04-16 20:22:59 +02:00
7e6e16ba6d WaE: declaration of 'nInd' shadows a previous local 2012-04-16 20:22:58 +02:00
bd51998c2f WaE: declaration of 'hr' shadows a previous local 2012-04-16 20:22:57 +02:00
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
8a01ee6243 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
9429bbb0c4 .component files don't need executable bits 2012-03-23 21:58:14 +01:00
68f2753710 .h files don't need executable bits 2012-03-23 21:58:13 +01:00
d4b67611c4 Introduced SystemShellExecuteFlags::URIS_ONLY 2012-03-16 15:01:26 +01:00
d76e2d1cc3 embeddedobj: convert to gbuild 2012-03-01 20:49:13 +01:00
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
5845c5b6ec Removed unnecessary tools/link.hxx includes. 2012-01-06 23:55:50 +01:00
7c0c3362de Fix for fdo43460 Part XV getLength() to isEmpty()
Part XV
Module
embeddeobj
2011-12-22 14:26:46 +00:00
9262039e90 catch exception by constant reference 2011-12-09 09:59:02 +09:00
181b1815f8 Change "menues" to "menus" 2011-12-07 11:48:24 +02:00
8d876c993e Yet another empty pch file; in embeddedobj this time. 2011-11-23 05:16:43 -08:00
ed156a994a fix post cast removal build error 2011-10-05 12:30:26 +01:00
470b293417 Some cppcheck cleaning 2011-07-31 18:11:19 +02:00
a90983bd65 Remove component_getImplementationEnvironment methods 2011-07-12 17:59:13 +02:00
11c71842f6 Drop OS2 2011-05-21 16:26:08 +03:00
cca12f114e Fix compilation error
Avoid temporary variable that was moved from a nested block in
previous commit, but had the same name as a variable alredy existing
in this block.
2011-04-29 11:37:49 +03:00
17d640b872 both branches of the if are same 2011-04-28 07:39:33 +02:00
561192cfc9 Easyhack: Add visibility markup to all component_get* functions 2011-04-21 00:27:41 +02:00
7775152169 Remove commented code in libs-core/embeddedobj (partially) 2011-04-12 20:42:49 +02:00
8993f87a33 remove obsolete component_writeInfo methods 2011-04-01 22:33:13 +01:00