diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-25 11:33:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-25 11:42:35 +0200 |
commit | 4fbf95deba87ed28ee8eb8442477832e46ba76c6 (patch) | |
tree | 2a1628497cc891de6ede5f5b33613e6e4deb63ef /xmlscript | |
parent | f66d734bcd994cb5fc2f38a8d9018e13385cd10c (diff) |
new loplugin:unuseddefaultparams
Change-Id: I2c3e7d66be9e3883ea2801ff394948cc580d1e44
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/inc/xml_import.hxx | 5 | ||||
-rw-r--r-- | xmlscript/source/xml_helper/xml_impctx.cxx | 5 |
2 files changed, 3 insertions, 7 deletions
diff --git a/xmlscript/source/inc/xml_import.hxx b/xmlscript/source/inc/xml_import.hxx index f14e3e5d8edc..21f3bc7b612c 100644 --- a/xmlscript/source/inc/xml_import.hxx +++ b/xmlscript/source/inc/xml_import.hxx @@ -43,16 +43,13 @@ namespace xmlscript @param xRoot initial object being called for root context - @param bSingleThreadedUse - flag whether context management is synchronized. @return document handler for parser */ css::uno::Reference< css::xml::sax::XDocumentHandler > SAL_CALL createDocumentHandler( css::uno::Reference< - css::xml::input::XRoot > const & xRoot, - bool bSingleThreadedUse = true ); + css::xml::input::XRoot > const & xRoot ); } diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx index c24312532ade..02ae45c29692 100644 --- a/xmlscript/source/xml_helper/xml_impctx.cxx +++ b/xmlscript/source/xml_helper/xml_impctx.cxx @@ -789,14 +789,13 @@ OUString ExtendedAttributes::getValueByUidName( } Reference< xml::sax::XDocumentHandler > SAL_CALL createDocumentHandler( - Reference< xml::input::XRoot > const & xRoot, - bool bSingleThreadedUse ) + Reference< xml::input::XRoot > const & xRoot ) { SAL_WARN_IF( !xRoot.is(), "xmlscript.xmlhelper", "xRoot is NULL" ); if (xRoot.is()) { return static_cast< xml::sax::XDocumentHandler * >( - new DocumentHandlerImpl( xRoot, bSingleThreadedUse ) ); + new DocumentHandlerImpl( xRoot, true /* mt use */ ) ); } return Reference< xml::sax::XDocumentHandler >(); } |