diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-24 09:53:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-24 10:31:17 +0200 |
commit | 6618a6d7f2b462e43ef8df4a14babacb5519c986 (patch) | |
tree | de30b58f8ee9fa7861997db03a4c0d76501abea0 /xmlsecurity | |
parent | b2d2d72a7e401a4693cec9bbe12d8254e250ba70 (diff) |
loplugin:constantfunction: xmlsecurity
Change-Id: Iabe2b4677b75cbd4b10a55fc4b2f13ba29645cd4
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/xmlsec/saxhelper.cxx | 10 | ||||
-rw-r--r-- | xmlsecurity/source/xmlsec/saxhelper.hxx | 3 | ||||
-rw-r--r-- | xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx | 3 |
3 files changed, 1 insertions, 15 deletions
diff --git a/xmlsecurity/source/xmlsec/saxhelper.cxx b/xmlsecurity/source/xmlsec/saxhelper.cxx index 9c454a30a921..ee0d950813cc 100644 --- a/xmlsecurity/source/xmlsec/saxhelper.cxx +++ b/xmlsecurity/source/xmlsec/saxhelper.cxx @@ -373,14 +373,4 @@ void SAXHelper::processingInstruction( } } -/** - * XDocumentHandler -- set document locator - * In this case, locator is useless. - */ -void SAXHelper::setDocumentLocator( - const cssu::Reference< cssxs::XLocator > &) - throw( cssxs::SAXException , cssu::RuntimeException ) -{ -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/source/xmlsec/saxhelper.hxx b/xmlsecurity/source/xmlsec/saxhelper.hxx index 8ed3e6e6bc16..4683d3fa8f03 100644 --- a/xmlsecurity/source/xmlsec/saxhelper.hxx +++ b/xmlsecurity/source/xmlsec/saxhelper.hxx @@ -71,9 +71,6 @@ class SAXHelper const OUString& aData ) throw( ::com::sun::star::xml::sax::SAXException , ::com::sun::star::uno::RuntimeException ) ; - void setDocumentLocator( const ::com::sun::star::uno::Reference< - ::com::sun::star::xml::sax::XLocator > & xLocator ) - throw( ::com::sun::star::xml::sax::SAXException , ::com::sun::star::uno::RuntimeException ) ; } ; #endif diff --git a/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx b/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx index 4f37d71b3a06..76ea5e393245 100644 --- a/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx +++ b/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx @@ -1002,10 +1002,9 @@ void SAL_CALL XMLDocumentWrapper_XmlSecImpl::processingInstruction( const OUStri saxHelper.processingInstruction(aTarget, aData); } -void SAL_CALL XMLDocumentWrapper_XmlSecImpl::setDocumentLocator( const cssu::Reference< cssxs::XLocator >& xLocator ) +void SAL_CALL XMLDocumentWrapper_XmlSecImpl::setDocumentLocator( const cssu::Reference< cssxs::XLocator >& ) throw (cssxs::SAXException, cssu::RuntimeException, std::exception) { - saxHelper.setDocumentLocator(xLocator); } /* XCompressedDocumentHandler */ |