summaryrefslogtreecommitdiffstats
path: root/comphelper
Commit message (Collapse)AuthorAgeFilesLines
* replace remaining InterlockedCount() with inlined versionNorbert Thiebaud2012-09-257-16/+16
| | | | | | | Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
* missing package dependencyMatúš Kukan2012-09-221-1/+4
| | | | Change-Id: I4171de4ad24ac1bb9956171f3256cbcd766dae29
* ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann2012-09-196-32/+22
| | | | | | ...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
* Make getProcessComponentContext/ServiceFactory throw instead of returning nullStephan Bergmann2012-09-182-48/+23
| | | | | | | | | | | | ...with the same rationale as recent 543158edba6678d3d76eee983a9d4edd2a422fee "Require XComponentContext.getServiceManager to throw instead of returning null" (this helps find problems like 065a758d0c2b66c6683d648347b7a6cdef4a80f7 "Enable experimental gtk3 plugin only via SAL_USE_VCLPLUGIN"). Removed comphelper::createProcessComponent[WithAguments] and replaced its few uses with direct calls to createInstance[WithArguments]. Change-Id: Ia44b8656f74de88ef6eab3eb6bd597729b08e1c8
* deprecate oustringostreaminserter.hxxNorbert Thiebaud2012-09-181-3/+0
| | | | | | | | | | | | | | | | | | | 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>
* Simplify AutoOGuardArray + rename private attributeJulien Nabet2012-09-151-7/+4
| | | | Change-Id: I9d651303fb80ef5c81d608e56a87cb9548c13f8f
* Improvement on previous commit, UCB clean upStephan Bergmann2012-09-142-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* First cut on integrating liborcus into libreoffice tree....Kohei Yoshida2012-09-072-0/+7
| | | | | | | | | | | | | | It introduces the 'FilterProvider' property in the media descriptor to optionally bypass the normal loading process and let the external filter provider to handle the loading. For now I'm overwriting the csv import filter just to see how this could work just as an experiment. Orcus still needs a lot of work, and it crashes very often at the moment. Change-Id: I11b34572c71073144804a7d0dd5176c8067d8deb
* fdo#46808, Adapt reflection::CoreReflection UNO service to new styleNoel Grandin2012-09-051-10/+12
| | | | | | | | | | The XComponent part of the interface made no sense for a singleton, so it was removed. Explicitly document the 'theCoreReflection' singleton and move it into it's own file. Deprecated the now old CoreReflection service. Change-Id: Ib8befa87c7da7eb53a2f587948fd54a64c082472
* fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin2012-08-271-14/+13
| | | | Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
* fdo#46808, Adapt script::Converter service code to new styleNoel Grandin2012-08-271-6/+3
| | | | Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
* Replace usage of rtl/memory.h in comphelper with equivalent from string.hArnaud Versini2012-08-253-8/+10
| | | | Change-Id: I41d452aa4892606d127e9565cf83c21f78a67392
* Some clean up after previous commitStephan Bergmann2012-08-232-22/+17
| | | | Change-Id: Ie419c769c5d661d51c1b43b9808791dcf9e1725c
* fdo#46808, Shiny UNO, Use factory to create XSimpleFileAccess instancesNoel Grandin2012-08-231-3/+4
| | | | | | Change-Id: I86e2a8873e5646abd340015f500bf9e872e8e6c5 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* SwXTextTable: add "TableBorder2" propertyMichael Stahl2012-08-202-0/+3
| | | | | | | | This new property is necessary because the old TableBorder cannot be extended to contain the BorderLine2 structs without breaking compatibility. Change-Id: I5e22782256b29224225a9d74c818b2c47fee8526
* gbuild: register all jarsMichael Stahl2012-08-171-5/+5
| | | | Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
* Revert "Cleanup comphelper::storagehelper"Matúš Kukan2012-08-162-332/+356
| | | | | | | | | | | | This reverts commit 72777a66bb8d9e71c4786c282c7971d7ededa729. +using namespace com::sun::star::uno; in header is not a good idea Fails to compile and is hard to parse and figure out what was the point, so just reverting. Also +using rtl::OUString; is automatic nowadays whenever possible and RTL_CONSTASCII_USTRINGPARAM is obsoleted. Change-Id: I24cb24b7f1a6007734d26cbba41d46323cb55b18
* Cleanup comphelper::storagehelperTomaž Vajngerl2012-08-162-356/+332
| | | | Change-Id: I04313cf4235ce3db20ff340474691435e9b440b6
* -Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2012-08-142-10/+4
| | | | Change-Id: I213bc96fd6c9049c0dba0a527e827ae5d8f0ace3
* reduce ascii noise and useless commentsThomas Arnhold2012-08-0812-51/+0
| | | | Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
* remove include comments and boxesThomas Arnhold2012-08-0811-31/+0
| | | | Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
* remove empty ascii boxes and stuff IIIThomas Arnhold2012-08-072-48/+0
| | | | Change-Id: I8b54e8518c219a7edd7e29173a1099611a7e0dbb
* Remove non-existing forward declarationsThomas Arnhold2012-08-071-2/+0
| | | | | | Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
* Fix windows build where min and max are macrosFridrich Štrba2012-08-021-2/+2
| | | | Change-Id: I59186db4003564b0b9c202456b7fdf91eaa67751
* Typo ressource -> resourceStephan Bergmann2012-07-301-1/+1
| | | | Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
* Partially revert "Remove unused defines"Thomas Arnhold2012-07-281-0/+1
| | | | | | | | This partially reverts 8ca21893e58dc9694e0e7a6c0fc52154b3ccb5f7 http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html Change-Id: Iae4347a26b1f388bc5e780d24ab7371ffac8b1f8
* Make comphelper/configuration.hxx work for localized propertiesStephan Bergmann2012-07-252-50/+61
| | | | | | | | | | | | | | | | | | | | | | | See aebf5bf22304c73e121b16dc0b51f909c5f34c28 "fdo#52232 ConfigurationSet wrapper unusable for localized properties" for a discussion of the problems with the original design. 1 Redesigned configmgr's localized property access to understand ['*<locale>'] paths that select the best existing value match for the requested <locale>. Adapted ConfigurationWrapper::getLocalizedPropertyValue accordingly. 2 Redesigned ConfigurationChanges to fix the locale at instantiation time. That takes care of ConfigurationWrapper::setLocalizedPropertyValue, ConfigurationWrapper::getGroupReadWrite, and ConfigurationWrapper::getSetReadWrite. (This required an additional constructor parameter for the ReadWriteAccess service, to specify a locale at instantiation time.) 3 Redesigned ReadOnlyAccess to be a service that fixes the locale at instantiation time. That allows to take care of ConfigurationWrapper::getGroupReadOnly and ConfigurationWrapper::getSetReadOnly. Change-Id: I2ae7342b278b6f4222a0189a1deb2a53e204059f
* mhu24: add comphelper::newArray_{null,ex} helpersMichael Stahl2012-07-242-0/+52
| | | | Change-Id: I5cba60c8a14fc8d0adc0c4c5273aabbdd9830f91
* Fix sense of SAL_WARN_IF conditionsStephan Bergmann2012-07-181-2/+2
| | | | Change-Id: Idd3dea4e42eb7f63447e1f804d90e991c801cdd3
* unusedcode: drop CellBlock and one small methodMatúš Kukan2012-07-162-15/+0
| | | | Change-Id: I7cad80ea59b4527193a35ea1b7cfdd56e07a0efe
* simplify include guardsThomas Arnhold2012-07-148-27/+13
| | | | Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
* targetted improvement of UNO API includes / usageMichael Meeks2012-07-021-4/+1
|
* Remove unused definesThomas Arnhold2012-07-011-1/+0
| | | | Change-Id: I45e1618dcff920b63b7e21ba9e842eed684114d7
* Java5 update - use generics in code, and general cleanupNoel Grandin2012-06-292-27/+22
| | | | Change-Id: I6f2490c48a9d6dbb7de4917c07d5c1fb36c58777
* re-base on ALv2 code.Michael Meeks2012-06-29139-3395/+1940
|
* gridfixes: #i117265# implement less-predicate for Date/Time structsFrank Schoenheit [fs]2012-06-291-3/+131
|
* Remove some more include guardsThomas Arnhold2012-06-293-9/+1
| | | | Change-Id: I7c62d086cb593744785abecae7a107686a4d65ce
* Remove UNO includes commentsThomas Arnhold2012-06-2923-51/+0
| | | | Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
* targetted re-work of cppunit pieces.Michael Meeks2012-06-273-8/+1
|
* reduce static_initialization_and_destruction chainCaolán McNamara2012-06-251-2/+1
| | | | Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
* Fix prefix ++/-- operators for non-primitive typesJulien Nabet2012-06-232-2/+2
| | | | Change-Id: Ibb55fcedecaf66f0817d24d8f408ef69d273ffa2
* re-base on ALv2 code.Michael Meeks2012-06-221-23/+14
| | | | Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
* re-base on ALv2 code.Michael Meeks2012-06-2166-1527/+966
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* re-base on ALv2 code.Michael Meeks2012-06-213-44/+43
| | | | Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
* add a route to compare a O[U]String to one code unitCaolán McNamara2012-06-182-0/+33
| | | | | | | | Seems very awkward to create an entire temporary O[U]String just to compare it to another when we want to know if that other contains just one char of a given value Change-Id: Iacd4e0d87dc5c5211fa06c61c55e1ed85b1e91f3
* callcatcher: chainsaw out some unnecessary codeCaolán McNamara2012-06-152-32/+0
| | | | Change-Id: I88de7a942fbc9e0c51a3261236f5203f037d2392
* don't need to realloc stringCaolán McNamara2012-06-121-1/+2
| | | | Change-Id: I17ec5a54b0088b56bd8c8431eb255626dbb1fac8
* removeTrailingChars is the same as stripEndCaolán McNamara2012-06-112-15/+0
| | | | Change-Id: I3fc618f886082e08e9baae3ae09017f653e729bd
* Remove superfluous empty lines on topThomas Arnhold2012-06-091-2/+0
| | | | | | More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
* Remove superfluous include commentsThomas Arnhold2012-06-092-4/+0
| | | | Change-Id: Icd57ca7fd89e30c190c1b06dbe67c30bea8d1b59