Commit graph

2318 commits

Author SHA1 Message Date
Noel Grandin
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
Noel Grandin
0666e43c45 fdo#46808, use service constructor for i18n::CharacterClassification
Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76
2012-11-05 18:05:00 +01:00
Noel Grandin
b30ee83058 fdo#46808, use service constructor for beans::Introspection
Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
2012-10-23 13:06:14 +02:00
Noel Grandin
f4776bf465 fdo#46808, fix up some NumberFormatter createInstance calls I missed
Change-Id: Ieb3ce841243797a119f1d1d40379ff2a4614168f
2012-10-23 11:33:14 +02:00
Luboš Luňák
f7a24eff2d mark lcl_ functions static or rename them if they are not local at all
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html

Change-Id: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5
2012-10-12 13:34:47 +02:00
Stephan Bergmann
dd11a1e57a Fixes/improvements on previous commit
* UUIInteractionHandler still needs to implement XInitialization.

* Moved ambiguating InteractionHandler typedef out of the way.

* Removed InteractionHandler.createDefault, as it was originally stated that "it
  is strongly recommended that [the "Parent"] property is supplied."

* Added back documentation about Parent and Context.

* Simplified some call-sites to directly use XInteractionHandler2.

Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04 14:42:52 +02:00
Noel Grandin
c25cb8a641 fdo#46808, Adapt task::InteractionHandler UNO service to new style
Since we don't need to expose XInitialisation, we can make the new-style
service implement XInteractionHandler2.

Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-04 14:42:52 +02:00
Tor Lillqvist
e40a86ca74 Use prefix
Change-Id: Id6ef3325df8dc8d193a7745370134ef47792893a
2012-10-02 11:31:37 +03:00
Arnaud Versini
36a2db3722 Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01 18:48:05 +00:00
Anurag Jain
37a2fa5d5a fdo#51304: Remove the author of some java source files
This patch remove some '@author' for Java souce files, and removes some
commented code founded when removing the '@author'.

Change-Id: Ic4fcd028a9cdbd85c693d93bcd48e41f36386d22
2012-10-01 14:10:03 +02:00
Michael Stahl
5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
Michael Stahl
b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
Michael Stahl
2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
Norbert Thiebaud
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
Stephan Bergmann
03a9f139bd ComponentContext::getUnoContext -> getComponentContext simplification
...and some further clean-up.

Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-19 13:16:38 +02:00
Stephan Bergmann
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
Noel Power
4597483e00 targetted VBA re-work. 2012-09-12 12:49:49 +01:00
Noel Grandin
bf4352084b Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-06 17:13:58 +02:00
Michael Stahl
6a1c29d7ef offapi: move css.ui.UICommandDescription to css.frame.UICommandDescription:
The service implementation used "com.sun.star.frame.UICommandDescription"
since forever, so the IDL file was essentially wrong documentation.
But since 7a464263cc converted the service
to new-style, it cannot be instantated any more and e.g. clicking on
Tools->Customize crashes.
(Adapting the implementation instead would be an incompatible change.)

Change-Id: I564bddaf3836827f5b72360a2bde19d6158b7ba5
2012-09-06 11:13:42 +02:00
Stephan Bergmann
24391f6057 Some clean up of previous commit
Change-Id: I14097acf09e9663af7d7abc5f0c9d481880ecc51
2012-09-05 14:56:19 +02:00
Noel Grandin
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
Noel Grandin
3a36408b73 fdo#46808, Adapt util::NumberFormatter UNO service to new style
Create a merged XNumberFormatter2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Change-Id: I57f35cde0a9dbbe91c1d2c3d068cb3a97c7245e3
2012-09-03 15:55:06 +02:00
Stephan Bergmann
d110a01252 Some clean up of previous commit
Change-Id: I6507b731665eb3d98a8fbf3d445f6c85e6d49258
2012-09-03 15:55:05 +02:00
Noel Grandin
278379697d fdo#46808, Adapt io::Pipe UNO service to new style
Create a merged XPipe interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Change-Id: I682633c6252aab503eb2469c9bd2ba771f10bc4b
2012-09-03 15:55:04 +02:00
Noel Grandin
9b07288138 fdo#46808, Adapt xml::dom::DocumentBuilder UNO service to new style
Change-Id: I577fbc7f990be9ec1f7b7eea53218b7daaccb2a1
2012-09-03 15:55:04 +02:00
Noel Grandin
7a464263cc fdo#46808, Adapt UICommandDescription UNO service to new style
Change-Id: Ibca112904f137ff981ae9be3e5bd56aa11aec352
2012-09-03 15:55:03 +02:00
Noel Grandin
10362695c2 fdo#46808, Adapt ModuleUIConfigurationManagerSupplier UNO service to new style
Change-Id: I58b17349474b974edd24aa17ec08ffa848a92ae9
2012-09-03 15:55:03 +02:00
Lionel Elie Mamane
a0b3feafe7 fix C++ warning declaration shadows member of this
Change-Id: Id14e14222615df33f5da7bab6f73d2752ae41509
2012-08-30 09:29:23 +02:00
Lionel Elie Mamane
de8d2c313b fix C++ warning: declaration shadows member of this
Change-Id: Ib88fecd856c9767cafa0191d3d93b372776d414a
2012-08-30 09:24:16 +02:00
Stephan Bergmann
860ffac8bf Unused member typedef shadowed by function parameters
Change-Id: I892e8cd4a46496199b3a78a1f08cc96dfa3c2f03
2012-08-30 08:37:32 +02:00
Lionel Elie Mamane
92656d5de9 Make impl_doActionInSQLContext_throw more typesafe
Change-Id: I19be63f1cfa57386dd661ab8f98dc21b5ff8d22c
2012-08-30 05:25:24 +02:00
Lionel Elie Mamane
3655f25465 fdo#48807 autofilter should not use LIKE operator
This demonstrates a confusion between *values* and *patterns*

Change-Id: I207aa53950166e915bbad22b022c88d07ee6300d
2012-08-30 05:23:06 +02:00
Noel Grandin
65c78617de fdo#46808, Shiny UNO, More use factory to create XSimpleFileAccess instances
Change-Id: I62fdd31fe89ae280e4ad2843dbc821f1fecb59a1
2012-08-27 15:40:06 +02:00
Matúš Kukan
9ec8d331dc kill more unneeded stuff; rename uiconfig Packages
Change-Id: Ib2f73d679ac4a6164142a370ce6d55c6de41117c
2012-08-24 23:24:11 +02:00
Michael Stahl
5a4bcd3b75 gbuild: register all jars
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-17 12:52:25 +02:00
Jung-uk Kim
ed93117447 fdo#53061: Fix for C++11 #define NULL nullptr
Change-Id: Ia1805aab4bec7fef02c96ec4e7a7a0ed9991d3c3
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-08-14 10:39:13 +02:00
Julien Nabet
9b85b65fb5 Prefer prefix ++/-- operators for non-primitive types
Change-Id: Ic8d149a78b2bc2bf352b7893202d0d0b6730746c
2012-08-10 22:36:26 +02:00
Thomas Arnhold
2beba8f93e reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08 13:53:54 +02:00
Thomas Arnhold
49ad17e2b1 remove include comments and boxes
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
Stephan Bergmann
889de665ec Typo ressource -> resource
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-30 09:26:00 +02:00
Kohei Yoshida
66e4540041 aDataAvailableLink in SfxMedium was never called.
Also remove all callback functions that would never get called
because of this.

Change-Id: I5dd5d64ccca9dd3d655428218957753d3200299e
2012-07-25 21:19:56 -04:00
Kohei Yoshida
73bc1c8b7a Referer was set to SfxMedium but was never used. Removing it.
Change-Id: I88ab874d4efc60d58722f0bb175d14a4d443398b
2012-07-25 16:23:13 -04:00
Thomas Arnhold
5a7e8389f0 hrc cleanup: Remove include guards from src files
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-14 05:43:47 +02:00
Thomas Arnhold
cdaddecc5e java: printStackTrace always to stderr
like 3d3b3f656f

Change-Id: I6e80717de009e8a3a89ffc80cb945cc832917f8c
2012-07-13 12:45:57 +02:00
Caolán McNamara
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
Thomas Arnhold
64517292c9 hrc cleanup: Remove include guards
Also add some missing include guards.

Change-Id: I320a3c017ca65d34f2cd516849bcde3dec9b33f1
2012-07-02 22:42:09 +02:00
Michael Meeks
2005a34318 re-base on ALv2 code. 2012-06-29 15:51:49 +01:00
Thomas Arnhold
8e1bffe7ff Remove include guards
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29 15:59:53 +02:00
Thomas Arnhold
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
Thomas Arnhold
6fcac7dfc4 Remove unused include files
Those never get included at any point in the code.

Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27 13:34:23 +02:00