summaryrefslogtreecommitdiff
path: root/comphelper
AgeCommit message (Collapse)AuthorFilesLines
2013-11-05WaE: 'e' : unreferenced local variableTor Lillqvist1-1/+1
Change-Id: I06319bf6607ecc25a768f85de3ec142388bfa572 (cherry picked from commit 008b5c6ae6efd51b1e40a2efb41e49645b1d8ad0) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2013-11-05fix compile for change to boost 1.53.0 declaring smart pointer operator bool ↵Mark Wright1-1/+1
as explicity for C++11 compilers Change-Id: If2c3ad68b2ffea645a9f2035cd802553edc0ee79 Reviewed-on: https://gerrit.libreoffice.org/2064 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> (cherry picked from commit d4bab97023e3569571a92551040574b20aceca7c) Signed-off-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-05-07fdo#48056 treat report chart as draw chartLionel Elie Mamane1-0/+6
Change-Id: I0a716b4339747f1994e5c8710e15474807aea4a2 Reviewed-on: https://gerrit.libreoffice.org/3767 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-04-29fdo#58949 EmbeddedObjectContainer: guard against embed::WrongStateExceptionMiklos Vajna1-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>
2013-02-05fdo#59426: Don't try to repair package during flat detection phase.Kohei Yoshida2-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>
2012-12-03workaround for a strange mingw problem caused by fast string operator+Luboš Luňák1-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
2012-12-03comphelper::string::ConstAsciiString support for fast operator+Luboš Luňák1-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
2012-11-30API CHANGE: remove com.sun.star.text.XModuleMichael Stahl1-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
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens10-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
2012-11-29API CHANGE a11y unpublishing and add/removeListener rename.Thorsten Behrens4-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
2012-11-28OUString::trim() does not modify in-placeTor Lillqvist1-1/+1
Change-Id: I522e579253d3b59bcc72010bfbb5d09d9f558fa1
2012-11-28fdo#46808, Adapt reflection::ProxyFactory UNO service to new styleNoel Grandin4-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
2012-11-28fdo#46808, use service constructor for i18n::CollatorNoel Grandin2-23/+9
Change-Id: If6ad17fa9e274beff7ba872a095ced65438962af
2012-11-22convert users of XDocumentInfo to XDocumentPropertiesMichael Stahl1-1/+1
Change-Id: I10f395f90d554d0ec26fe9f2654ae839e21c7ee5
2012-11-05fdo#46808, use service constructor for i18n::CharacterClassificationNoel Grandin1-6/+2
Change-Id: I0499ad7de27b1539e97f01ab8aa0ef2d6713ae76
2012-10-26Remove obsolete commentStephan Bergmann1-1/+0
Change-Id: I91ca29d9960e2f92c0f8bdec97695b58078fac6b
2012-10-26Turn SAL_INFO back to SAL_WARNStephan Bergmann1-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
2012-10-26Simplify SAL_INFO usage even furtherStephan Bergmann1-9/+6
Change-Id: I452319aa627c8de17e87033597a151f186c4361c
2012-10-25comphelper: convert OSL_* to SAL_* in namedvaluecollectionMiklos Vajna1-2/+3
Mainly because it seems we hit this assert several times and right now it seems harmless. Change-Id: I9176741dd25f405c9eb49daef9c703cfde4386c4
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin2-11/+11
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory Change-Id: Id662d674c6d3c4ddfd35be5fc2e802b73bc6de90
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin2-15/+15
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
2012-10-23fdo#46808, use service constructor for i18n::BreakIteratorNoel Grandin2-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
2012-10-23fdo#46808, use service constructor for beans::IntrospectionNoel Grandin2-17/+6
Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
2012-10-23fdo#46808, use service constructor for uri::UriReferenceFactoryNoel Grandin1-5/+4
Change-Id: I4e72bf5880fa28cb96d93ede7730a63220af7fa6
2012-10-22fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin2-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
2012-10-18better to throw and report exact failureCaolán McNamara1-1/+1
2012-10-04sal_Bool -> bool in comphelperNoel Grandin1-5/+5
Change-Id: Ib7f2a10a4ff0227a5d5c137602c3c2f353334d24
2012-10-04sal_Bool -> bool in comphelperNoel Grandin2-8/+8
Change-Id: Id9f4aef6c7453cebd83dcaedf2ad7427e03cc960
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin2-11/+11
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin2-4/+31
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-01fdo#51304: Remove the author of some java source filesAnurag Jain1-2/+0
This patch remove some '@author' for Java souce files, and removes some commented code founded when removing the '@author'. Change-Id: Ic4fcd028a9cdbd85c693d93bcd48e41f36386d22
2012-09-29Use comphelper::getComponentContextStephan Bergmann1-20/+3
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl2-4/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2-2/+4
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2-0/+2
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud7-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>
2012-09-22missing package dependencyMatúš Kukan1-1/+4
Change-Id: I4171de4ad24ac1bb9956171f3256cbcd766dae29
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann6-32/+22
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18Make getProcessComponentContext/ServiceFactory throw instead of returning nullStephan Bergmann2-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
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud1-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>
2012-09-15Simplify AutoOGuardArray + rename private attributeJulien Nabet1-7/+4
Change-Id: I9d651303fb80ef5c81d608e56a87cb9548c13f8f
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann2-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
2012-09-07First cut on integrating liborcus into libreoffice tree....Kohei Yoshida2-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
2012-09-05fdo#46808, Adapt reflection::CoreReflection UNO service to new styleNoel Grandin1-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
2012-08-27fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin1-14/+13
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27fdo#46808, Adapt script::Converter service code to new styleNoel Grandin1-6/+3
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-25Replace usage of rtl/memory.h in comphelper with equivalent from string.hArnaud Versini3-8/+10
Change-Id: I41d452aa4892606d127e9565cf83c21f78a67392
2012-08-23Some clean up after previous commitStephan Bergmann2-22/+17
Change-Id: Ie419c769c5d661d51c1b43b9808791dcf9e1725c
2012-08-23fdo#46808, Shiny UNO, Use factory to create XSimpleFileAccess instancesNoel Grandin1-3/+4
Change-Id: I86e2a8873e5646abd340015f500bf9e872e8e6c5 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-08-20SwXTextTable: add "TableBorder2" propertyMichael Stahl2-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