summaryrefslogtreecommitdiff
path: root/filter/source/xsltfilter
AgeCommit message (Collapse)Author
2014-12-15filter: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I4b1c365bb2ff80b30748630d2c6296bf4ed6fd53
2014-11-17Simplify input parameters to just take the sequenceMatúš Kukan
Change-Id: Ic2538ca8b0f7261064e1dfbf3884dd452003c797
2014-11-12Fix common typos. No automatic tools. Handmade…Andrea Gelmini
Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-29ref-counting vcl::Window subclassesNoel Grandin
Points of discussion -------------------- (*) where in the Window destructor should dispose() be called? It's a seriously large method. (*) we're going to need similar typedefs and declarations for every single sub-class of vcl::Window, I assume that I will need to create a macro to make it less verbose. TODO ---- Update clang plugin to verify that: (a) dispose() methods always call their superclass dispose() (b) dispose() methods don't forget to clear any references owned by that class. Change-Id: I873d5d5166f811e2f65e49327cc98862559fcf30
2014-08-08[API CHANGE] Removed two cppuhelper deprecated headers.Matthew Pottage
The headers cppuheader/compbase.hxx and implbase.hxx. They have been deprecated since 2001. Moved the definitions of the deprecated functions to cppuhelper/source/compat.cxx. Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, adding fixes and clean-up in cppuhelper/source/compat.cxx and odk/Package_odk_headers.mk Change-Id: I48b3cbf551b59d72614737a883a96aab55fc2090
2014-08-06fdo#45418 xslt: Make sure we're reading from the beginningMaxim Monastirsky
Change-Id: Id5beb6af8c32ab45d7e31120d38966f8fe4d5418
2014-07-08Include <algorithm> for std::min() and max()Tor Lillqvist
Change-Id: I88a590344292b4adf562ca83f5072d543b5924ad
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-05-30Fix leakStephan Bergmann
Change-Id: Ie1c0cb94fae8b227f7ef66df5a2a2ca3f0738897
2014-04-22filter: sal_Bool->boolNoel Grandin
Change-Id: Icf20f23cb46ad3cb147d8c6a743f1d25a23fbca5
2014-04-14Avoid possible memory leaks in case of exceptionsTakeshi Abe
Change-Id: Id71cb49d8aa241a17efd4cbe217a48f2d7c34e84
2014-04-03package: sal_Bool->boolNoel Grandin
Change-Id: I66999e5d9f827650f4c1bccb14178f8fa8a57cbf
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-04filter: make LibXSLTTransformer init backward compatibleMichael Stahl
As reported by Fernand Vanrie, initializing the XSLT service can fail because the LibXSLTTransformer::initialize was changed to require the parameters as a nested Sequence; accept previous parameter convention as a fall-back. (regression from ca0ea73a4ab104031a16b5bac7a9bb6e57c77ba0) Change-Id: I136e6e6338f11ffecf9f856f0736d1d0e6b17c3f
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-10-23fixincludeguards.sh: filterThomas Arnhold
Change-Id: Ifdb49a0fd5f658056b14b7c2f4e323dd38b412e6
2013-07-30Related rhbz#98977: Handle multiple LibXSLTTransformer::terminate callsStephan Bergmann
Trying to reproduce rhbz#98977, temporarily changing TRANSFORMATION_TIMEOUT_SEC (filter/source/xsltfilter/XSLTFilter.cxx) to zero, loading a dummy "Microsoft Excel 2003 XML (.xml)" file shows a "General input/output error" msg box and "Cancel" leads to a crash due to duplicate calls to m_tcontrol->terminate() from both XSLTFilter::importer and XSLTFilter::endDocument (both filter/source/xsltfilter/XSLTFilter.cxx). Change-Id: Ia103d944f3e1f14ca2cf5552ca3a48348132d38e
2013-06-05fdo#46808, Convert XMultiServiceFactory in filter moduleNoel Grandin
Change-Id: I9dcddba4f5a8a7adeddc31b5df014b0174b9745d
2013-05-22fdo#46808, Convert XMultiServiceFactory to XComponentContextNoel Grandin
Change-Id: I24c21e5e3fede7de003cddeef39457ee88b885e9
2013-05-06Revert "properly prefix graphic filter methods"Peter Foley
This reverts commit eacf12eeb174e35a301570726bf74434a4dd4b94. Appears to be broken. Conflicts: vcl/source/filter/graphicfilter.cxx Change-Id: I9ae3fbac2e7e9d08484c063cdb10e080ca89def2
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-15properly prefix graphic filter methodsPeter Foley
Change-Id: I1d14e2330447e446ab35832d03220c71ee326866
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-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-13coverity#704144: Resource leak in objectJulien Nabet
Change-Id: I027028a7c6dc1a3eaa90e5b39d1a5d01122e02d4
2013-02-25loplugin: unused variablesThomas Arnhold
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
2013-02-17fix build, caused by fast string concatLuboš Luňák
Change-Id: I07025171f0865b34de9a85b7820321e5eac46758
2013-02-16fdo#57950: Remove more chained appends in filterMarcos Paulo de Souza
And also sanitize some OUStringBuffer uses. Change-Id: I338b18981e1f925d76c0d640159de30bab219122 Reviewed-on: https://gerrit.libreoffice.org/2186 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2013-02-11fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin
And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2012-12-21Remove unused cppuhelper/servicefactory.hxx includesStephan Bergmann
Change-Id: I27fd4d1f1dfafccaa7936defb5cd687d6266e0a2
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-11-27removed obsolete xml validation service and xml source view.Peter Jentsch
Change-Id: I637531c09b391ef458ae6395518129d981662ff2 Reviewed-on: https://gerrit.libreoffice.org/1166 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-10-25drop saxon-based XSLT transformerDavid Tardon
Change-Id: I2cd4e0965452c376df8c5e43353fbdd6f62fb27d
2012-10-25rework selection of transformer for an XSLT filterDavid Tardon
Change-Id: I765762f11813c6b612416a8db2707bf94114c876
2012-10-25convert java XSL transformer into extensionDavid Tardon
Change-Id: Ided6c480969764073056830722c8996e0df52285
2012-10-22fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin
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-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-03re-base on ALv2 code. Includes:Michael Meeks
tkr41: #117828# office crash fixed . (null pointer) + add unit test Patch contributed by Tobias Krause http://svn.apache.org/viewvc?view=revision&revision=1172105 Do not add targets for junit tests when junit is disabled. Patch contributed by Andre Fischer http://svn.apache.org/viewvc?view=revision&revision=1241508 remove the OutDev::GetKernPair* stubs completely Patch contributed by Herbert Duerr http://svn.apache.org/viewvc?view=revision&revision=1179221 reverting un-necessary OS/2 conditionals.
2012-10-01Use prefixTor Lillqvist
Change-Id: Ie741222944bf8ed6cacd5a3037f8aa75a6a4dec3
2012-10-01fdo#51304: Remove the author of some java source filesAnurag Jain
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 Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-10register exslt functions for libxslt filterPeter Jentsch
Change-Id: I23bb8a3cf00a9152362794281a617ad4a780faee
2012-09-03fdo#46808, Adapt io::Pipe UNO service to new styleNoel Grandin
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