summaryrefslogtreecommitdiffstats
path: root/comphelper
Commit message (Collapse)AuthorAgeFilesLines
* fdo#58949 EmbeddedObjectContainer: guard against embed::WrongStateExceptionMiklos Vajna2013-04-291-5/+10
| | | | | | | | | | | | | | | | | | | The problem was that in case an exception was thrown, it was only caught outside the loop, so in case any error occurred, we didn't even try to export the remaining objects. At least in case of embed::WrongStateException, this is safe to do. (cherry picked from commit 6238cfe27f0a202f3fbf482cde2b0a3189adc86f) Change-Id: I71a7abc45a89bebc667664bc001245bb886a8d83 Reviewed-on: https://gerrit.libreoffice.org/3624 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-on: https://gerrit.libreoffice.org/3658 Tested-by: Petr Mladek <pmladek@suse.cz> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: Petr Mladek <pmladek@suse.cz>
* fdo#59426: Don't try to repair package during flat detection phase.Kohei Yoshida2013-02-052-0/+8
| | | | | | | Change-Id: I35968241a79db0aabe06e25c0efac2aa3d1c5b84 Reviewed-on: https://gerrit.libreoffice.org/1984 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* workaround for a strange mingw problem caused by fast string operator+Luboš Luňák2012-12-031-1/+2
| | | | | | | | error: no matching function for call to ‘transform(const com::sun::star::beans::NamedValue*, const com::sun::star::beans::NamedValue*, com::sun::star::uno::Any*, <unresolved overloaded function type>)’ Change-Id: I7d38a7ee13497fd11b2cea340e2f800dd78f485f
* comphelper::string::ConstAsciiString support for fast operator+Luboš Luňák2012-12-031-0/+16
| | | | | | | Although an ever better option seems to be replace this overblown const char[] wannabe with the real const char[] thing. Change-Id: Ibdf5e498585d9e2fb589a49800f7ceee1545fc30
* API CHANGE: remove com.sun.star.text.XModuleMichael Stahl2012-11-301-1/+0
| | | | | | | | | | This interface has been deprecated since OpenOffice.org initial CVS import and the purpose of an empty interface is dubious anyway. EXISTENCE: published key "/UCR/com/sun/star/text/XModule" exists only in registry 1 Change-Id: If3c849d61d5433b8d426e2e89c3b818a7fff1e7d
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-3010-39/+0
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens2012-11-294-12/+10
| | | | | | | | | | | | | The a11y API has never really been picked up by tools vendors, let's not tie ourselves up here for no good reason. This unpublishes all css::accessibility, and dependend API. With that, we can change the rather unfortunately-named add/ removeEventListener to be add/removeAccessibleEventListener, thus not conflicting with the XComponent methods of the same name. Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
* OUString::trim() does not modify in-placeTor Lillqvist2012-11-281-1/+1
| | | | Change-Id: I522e579253d3b59bcc72010bfbb5d09d9f558fa1
* fdo#46808, Adapt reflection::ProxyFactory UNO service to new styleNoel Grandin2012-11-284-57/+50
| | | | | | | | The service is deprecated, but we still have a handful of in-tree users, and converting it lets me thread XComponentContext through a bunch of classes. Change-Id: Iffdfe537ada6b9e4a89f9b3c8dd82ca85f4bfaba
* fdo#46808, use service constructor for i18n::CollatorNoel Grandin2012-11-282-23/+9
| | | | Change-Id: If6ad17fa9e274beff7ba872a095ced65438962af
* convert users of XDocumentInfo to XDocumentPropertiesMichael Stahl2012-11-221-1/+1
| | | | Change-Id: I10f395f90d554d0ec26fe9f2654ae839e21c7ee5
* fdo#46808, use service constructor for i18n::CharacterClassificationNoel Grandin2012-11-051-6/+2
| | | | Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76
* Remove obsolete commentStephan Bergmann2012-10-261-1/+0
| | | | Change-Id: I91ca29d9960e2f92c0f8bdec97695b58078fac6b
* Turn SAL_INFO back to SAL_WARNStephan Bergmann2012-10-261-1/+1
| | | | | | | | ...the reason it started firing was a regression that has now been addressed with 402eaced7554aaeea75c10015857ea197191ba34 "Related fdo#46808: Fix UUIInteractionHandler::initialize argument handling." Change-Id: I2f36e1cb5ae1af293a7c07c366f1602e56e966ea
* Simplify SAL_INFO usage even furtherStephan Bergmann2012-10-261-9/+6
| | | | Change-Id: I452319aa627c8de17e87033597a151f186c4361c
* comphelper: convert OSL_* to SAL_* in namedvaluecollectionMiklos Vajna2012-10-251-2/+3
| | | | | | | Mainly because it seems we hit this assert several times and right now it seems harmless. Change-Id: I9176741dd25f405c9eb49daef9c703cfde4386c4
* fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin2012-10-242-11/+11
| | | | | | | Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory Change-Id: Id662d674c6d3c4ddfd35be5fc2e802b73bc6de90
* fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin2012-10-242-15/+15
| | | | | | | Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
* fdo#46808, use service constructor for i18n::BreakIteratorNoel Grandin2012-10-232-9/+5
| | | | | | | | Note that I found a pre-existing bug in linguistic/source/gciterator.cxx but I was not able to fix it, because doing so appears to expose bugs elsewhere! Change-Id: I17fb9108d98a98d0ae13fe5a8e043d2db5b27a6a
* fdo#46808, use service constructor for beans::IntrospectionNoel Grandin2012-10-232-17/+6
| | | | Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
* fdo#46808, use service constructor for uri::UriReferenceFactoryNoel Grandin2012-10-231-5/+4
| | | | Change-Id: I4e72bf5880fa28cb96d93ede7730a63220af7fa6
* fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin2012-10-222-35/+28
| | | | | | | | Create a merged XWriter interface for the service. The xml.sax.Writer service already existed, it just did not have an IDL file. Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
* better to throw and report exact failureCaolán McNamara2012-10-181-1/+1
|
* sal_Bool -> bool in comphelperNoel Grandin2012-10-041-5/+5
| | | | Change-Id: Ib7f2a10a4ff0227a5d5c137602c3c2f353334d24
* sal_Bool -> bool in comphelperNoel Grandin2012-10-042-8/+8
| | | | Change-Id: Id9f4aef6c7453cebd83dcaedf2ad7427e03cc960
* fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin2012-10-042-11/+11
| | | | | | | The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
* fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin2012-10-042-4/+31
| | | | | | | Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
* fdo#51304: Remove the author of some java source filesAnurag Jain2012-10-011-2/+0
| | | | | | | This patch remove some '@author' for Java souce files, and removes some commented code founded when removing the '@author'. Change-Id: Ic4fcd028a9cdbd85c693d93bcd48e41f36386d22
* Use comphelper::getComponentContextStephan Bergmann2012-09-291-20/+3
| | | | | | ...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-282-4/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-282-2/+4
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-282-0/+2
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* 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