summaryrefslogtreecommitdiff
path: root/dbaccess/source/filter/xml
AgeCommit message (Collapse)Author
2013-05-12Fix possible inefficient checking for variables emptinessJulien Nabet
Change-Id: I95a6784d5448b63b0cdde436484915692f8633be
2013-04-25dbaccess: {DECLARE,IMPLEMENT}_CONSTASCII_USTRING are no longer neededMiklos Vajna
Change-Id: Id404f8f3a5bdbf32c207ee81c6f6be9c9d328679
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05Drop jvmaccess and jvmfwk when no SOLAR_JAVATor Lillqvist
Just sprinkle #ifdef SOLAR_JAVA into the code instead. In the source for jvmaccess and jvmfwk such ifdefs can be removed as it isn't compiled unless SOLAR_JAVA. Change-Id: Ia8614f8bd6d833582d3b79b5fb75f9153fa79606
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-26Do not needlessly include jvmaccess/virtualmachine.hxx in headerStephan Bergmann
Change-Id: Ieb1564eb7b477a7b239b07347f46fc55b64bd92b
2013-03-25fdo#46808, convert sdb::CommandDefinition to new-styleNoel Grandin
the service already existed, it just needed an IDL file Change-Id: I99c08b4e3a3ee0131b6fd904803efe7273cd1694
2013-03-20fdo#46808, Convert a bunch of comphelper::ComponentContext stuffNoel Grandin
.. to Reference<XComponentContext> mostly in the dbaccess module, but it also affected some other modules. Change-Id: I09b3f6fe7a9b33498b11d98b5521b5aeeb8882be
2013-03-09Work around -Werror=unused-local-typedefs from comphelper/stl_types.hxxStephan Bergmann
Change-Id: Id9f588e551b40a64bc86cae7c6d50f99659f94ab
2013-03-08simplify compareTo (now correct)Thomas Arnhold
Change-Id: Ia4fd2f54d0bda71d472f46949500c0b23ff8e1b7 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-08Revert "simplify some compareTo"Stephan Bergmann
This reverts commit 19020191cbf3e3c7a7bf98d0958d86d931ae687b, s1.compareTo(s2, length-of-s2) is *not* equivalent to s1 == s2
2013-03-08simplify some compareToThomas Arnhold
Change-Id: Ib63cfac8b5f129f31534020fd634750e846e3b98
2013-03-08some further OUString cleanupThomas Arnhold
Change-Id: I13eb94092e29ececc9fbf494074acde5f893b605
2013-03-06fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck
Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments. All other instances of the misspelling have remained the same. Example: AF_REMOVEABLE Change-Id: I391f4101bbc3e06689318235a37d616065bc1686 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-02-25RTL_CONSTASCII_USTRINGPARAM and ::rtl:: removalsKrisztian Pinter
Conflicts: cui/source/options/optgdlg.cxx cui/source/options/webconninfo.cxx dbaccess/source/ui/app/AppController.cxx Change-Id: I2abfad91318e8be8c0f77909cbd76825cdca9b85 Reviewed-on: https://gerrit.libreoffice.org/2350 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-22fdo#38838, ::rtl::OUString, String to OUStringGergő Mocsi
I have cleared out String and ::rtl::OUString calls in module dbaccess/source/core/misc. It was mainly file dbaccess/source/core/misc/dnstypes.cxx , and it's usages. There are still some calls in dbaccess for this class(ODnsTypeCollection), that needs refactoring (eg. in file DbAdminImpl.cxx, method "String ODbDataSourceAdministrationHelper::getConnectionURL() const"). Remaining calls will be my next task (in module dbaccess). I also clear out deprecated macro RTL_CONSTASCII_USTRINGPARAM every time I find one. The class I've mentioned above (ODnsTypeCollector) is OK. Change-Id: Ia0f3bb8cc649d1ecf8decc093f8a1a20ee23c33c Reviewed-on: https://gerrit.libreoffice.org/2289 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-02-21generic integers to enumsLuboš Luňák
Change-Id: Ic43283b9e1666c0f2162e277dc79fc6f992ef616
2013-02-12fdo#46808, convert xmloff module code to use XComponentContextNoel Grandin
with lots of repurcussions in other modules Change-Id: I6982671eecc701b06cf85d93533e1fe618044fea
2013-02-11fdo#46808, Adapt document::XML*BasicExporter UNO services to new styleNoel Grandin
The services are document::XMLBasicExporter document::XMLOasisBasicExporter Change-Id: Ifd93e5735cae94d34904d79769cdb3edf587fe43
2013-02-11fdo#46808, Adapt java::JavaVirtualMachine UNO service to new styleNoel Grandin
Change-Id: Ib0329b9cdc4290ce98c4182e8466c1b44b408341
2013-01-28fdo#46808, Adapt sdb::TableDefinition UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file Change-Id: Iaac84da8baa3a060eef339d8e477f86ca49fae08
2013-01-16OXMLDataSourceSetting::convertString: try to make Clang tb happyMichael Stahl
Change-Id: I8b2509f28206fd5b6c20c88d9186a9a18f76f7a5
2013-01-16fix buildLuboš Luňák
Change-Id: I1697e761061c21826f57d4b2f4694ee03cdfb05d
2013-01-16fdo#57950: dbaccess: STRINGPARAM and more chained appendsMarcos Paulo de Souza
Change-Id: Iab1ba5eb6702d386e2775d7426c3398b606d2d97 Reviewed-on: https://gerrit.libreoffice.org/1706 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-15fdo#46808, Convert comphelper::MimeConfigurationHelper to XComponentContextNoel Grandin
Change-Id: I74b4f0c4a84f02b218102405eaba24cf47f654ce
2013-01-09fdo#46808, new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin
and use it to replace usage of createWithServiceFactory, and thus replace usage of XMultiServiceFactory. Change-Id: Id2f44066683ce17cf7a22f80916031556ef0e82a
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-10fdo#46808, use service constructor for embed::StorageFactoryNoel Grandin
Change-Id: I26cd1cf86118122f392f16801a646df753a7df26
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens
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-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04Fixes/improvements on previous commitStephan Bergmann
* 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-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-09-27Improvements on previous commitStephan Bergmann
* Made XDatabaseContext inherit XDatabaseRegistrations non-optionally, adapted call-sites to just use XDatabaseContext w/o querying. (The previous commit had inadvertantly effectively removed support for XDatabaseRegistrations from the ODatabaseContext implementation, as an optional UNO super-interface does not lead to a super-class in the corresponding C++ class hierarchy, but making the super-interface non-optional fixes that anyway.) * Adapted some more call-sites to just use XDatabaseContext w/o querying. * Added @since tag. * Replaced new uses of comphelper::ComponentContext::getUNOContext with comphelper::getComponentContext (see 03a9f139bd9ea1a4f9096fc982e6b326def58532 "ComponentContext::getUnoContext -> getComponentContext simplification;" I intend to get rid of comphelper/componentcontext.hxx much sooner than of comphelper/processfactory.hxx). Change-Id: I68d09f2dbe651629f79ed21cd40cdb6d6b32c624
2012-09-27fdo#46808, Adapt sdb::DatabaseContext UNO service to new styleNoel Grandin
Create a merged XDatabaseContext interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Quite a few IDL files had to be marked as published for this to work. Change-Id: Ie9a0da88d8c33cc83fc9d2334ff83ab2744c222f
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann
* 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-08-31-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
Change-Id: I55ad905bef36b54fadc245bfb22f687e47d20c3a
2012-08-31-Werror,-Wnon-literal-null-conversion (Clang towards 3.2)Stephan Bergmann
Change-Id: Id92099158b8c12b19148397562c6ce16812848fa
2012-07-29Partially revert "Remove unused defines"Thomas Arnhold
This partially reverts 00240d049790d11c4ef35de7a294819107197efd http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html Change-Id: Ib682cd258cca12e742be5fb1715b2aecfe0a761e
2012-07-05removed useless forward declarations of classTakeshi Abe
Change-Id: I13cf52cc4e1cf8d5e2453d7ac4b68cc8c64cd011
2012-07-01Remove unused definesThomas Arnhold
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-06-29Remove UNO includes commentsThomas Arnhold
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-14re-base on ALv2 code.Michael Meeks
2012-06-11remove EraseLeadingChars and EraseTrailingCharsCaolán McNamara
Change-Id: Ib9797fe97cd008cc6508ce8cec47dc5373416892
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update code to use factory method URLTransformer::create Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I90c9037b10a288d5d2e36f056c3632c796957fb4
2012-05-31targetted SAL_N_ELEMENTS reversion.Michael Meeks
Change-Id: I181c5b5dd24836ff0398aa5ed03915c2c7c55183
2012-05-17removed unused const rtl::OUStringTakeshi Abe
Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;