diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-09 09:22:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-10 06:28:22 +0000 |
commit | b0229855057ed4d73e73ecd8c501a4564f2237ce (patch) | |
tree | 05a3e4eea3ea9584699063ed9b726d466f3a8839 /xmlsecurity/source/framework | |
parent | bce35b8e13b0d82ba54bf3d380f448dad0ee13bb (diff) |
loplugin:unusedfields
Change-Id: I9611511cb3480734dea3c3cbaf0d659071366ad1
Reviewed-on: https://gerrit.libreoffice.org/32873
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlsecurity/source/framework')
-rw-r--r-- | xmlsecurity/source/framework/signaturecreatorimpl.cxx | 8 | ||||
-rw-r--r-- | xmlsecurity/source/framework/signatureengine.cxx | 4 | ||||
-rw-r--r-- | xmlsecurity/source/framework/signatureverifierimpl.cxx | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/xmlsecurity/source/framework/signaturecreatorimpl.cxx b/xmlsecurity/source/framework/signaturecreatorimpl.cxx index e9269c267c20..3e289b90f134 100644 --- a/xmlsecurity/source/framework/signaturecreatorimpl.cxx +++ b/xmlsecurity/source/framework/signaturecreatorimpl.cxx @@ -34,8 +34,8 @@ namespace cssxw = com::sun::star::xml::wrapper; #define IMPLEMENTATION_NAME "com.sun.star.xml.security.framework.SignatureCreatorImpl" -SignatureCreatorImpl::SignatureCreatorImpl( const Reference<XComponentContext> & xContext ) - : SignatureCreatorImpl_Base(xContext), m_nIdOfBlocker(-1) +SignatureCreatorImpl::SignatureCreatorImpl() + : SignatureCreatorImpl_Base(), m_nIdOfBlocker(-1) { } @@ -200,10 +200,10 @@ cssu::Sequence< OUString > SAL_CALL SignatureCreatorImpl_getSupportedServiceName } cssu::Reference< cssu::XInterface > SAL_CALL SignatureCreatorImpl_createInstance( - const cssu::Reference< cssl::XMultiServiceFactory >& xMSF ) + const cssu::Reference< cssl::XMultiServiceFactory >& /*xMSF*/ ) throw( cssu::Exception ) { - return static_cast<cppu::OWeakObject*>(new SignatureCreatorImpl( comphelper::getComponentContext( xMSF ) )); + return static_cast<cppu::OWeakObject*>(new SignatureCreatorImpl); } /* XServiceInfo */ diff --git a/xmlsecurity/source/framework/signatureengine.cxx b/xmlsecurity/source/framework/signatureengine.cxx index 27dd705c4ca1..b22d97cbccf4 100644 --- a/xmlsecurity/source/framework/signatureengine.cxx +++ b/xmlsecurity/source/framework/signatureengine.cxx @@ -29,8 +29,8 @@ namespace cssu = com::sun::star::uno; namespace cssxc = com::sun::star::xml::crypto; namespace cssxw = com::sun::star::xml::wrapper; -SignatureEngine::SignatureEngine( const Reference<XComponentContext> & xContext) - : m_xContext(xContext), m_nTotalReferenceNumber(-1) +SignatureEngine::SignatureEngine() + : m_nTotalReferenceNumber(-1) { } diff --git a/xmlsecurity/source/framework/signatureverifierimpl.cxx b/xmlsecurity/source/framework/signatureverifierimpl.cxx index bbbef86896d2..b399af103718 100644 --- a/xmlsecurity/source/framework/signatureverifierimpl.cxx +++ b/xmlsecurity/source/framework/signatureverifierimpl.cxx @@ -32,8 +32,8 @@ namespace cssxc = com::sun::star::xml::crypto; #define IMPLEMENTATION_NAME "com.sun.star.xml.security.framework.SignatureVerifierImpl" -SignatureVerifierImpl::SignatureVerifierImpl( const cssu::Reference< css::uno::XComponentContext >& xContext) - : SignatureVerifierImpl_Base(xContext) +SignatureVerifierImpl::SignatureVerifierImpl() + : SignatureVerifierImpl_Base() { } @@ -153,10 +153,10 @@ cssu::Sequence< OUString > SAL_CALL SignatureVerifierImpl_getSupportedServiceNam } cssu::Reference< cssu::XInterface > SAL_CALL SignatureVerifierImpl_createInstance( - const cssu::Reference< cssl::XMultiServiceFactory >& rSMgr) + const cssu::Reference< cssl::XMultiServiceFactory >& /*rSMgr*/) throw( cssu::Exception ) { - return static_cast<cppu::OWeakObject*>(new SignatureVerifierImpl( comphelper::getComponentContext(rSMgr) )); + return static_cast<cppu::OWeakObject*>(new SignatureVerifierImpl); } /* XServiceInfo */ |