From 18f80da7a689ab962735c0f657497b8f1ed4d606 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 27 Jul 2017 15:55:38 +0200 Subject: loplugin:checkunusedparams more part2 Change-Id: Ibb940c2a7098313dfa282734894b1abc1ac40bc2 Reviewed-on: https://gerrit.libreoffice.org/40489 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmlsecurity/inc/framework/signaturecreatorimpl.hxx | 5 ----- xmlsecurity/inc/framework/signatureverifierimpl.hxx | 5 ----- xmlsecurity/source/framework/signaturecreatorimpl.cxx | 6 ------ xmlsecurity/source/framework/signatureverifierimpl.cxx | 6 ------ 4 files changed, 22 deletions(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/inc/framework/signaturecreatorimpl.hxx b/xmlsecurity/inc/framework/signaturecreatorimpl.hxx index 683d2d2a676d..d893ad9546a7 100644 --- a/xmlsecurity/inc/framework/signaturecreatorimpl.hxx +++ b/xmlsecurity/inc/framework/signaturecreatorimpl.hxx @@ -94,11 +94,6 @@ OUString SignatureCreatorImpl_getImplementationName(); /// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL SignatureCreatorImpl_getSupportedServiceNames( ); -/// @throws css::uno::Exception -css::uno::Reference< css::uno::XInterface > -SAL_CALL SignatureCreatorImpl_createInstance( - const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr); - #endif diff --git a/xmlsecurity/inc/framework/signatureverifierimpl.hxx b/xmlsecurity/inc/framework/signatureverifierimpl.hxx index 592e4740c714..e9e3d050136b 100644 --- a/xmlsecurity/inc/framework/signatureverifierimpl.hxx +++ b/xmlsecurity/inc/framework/signatureverifierimpl.hxx @@ -87,11 +87,6 @@ OUString SignatureVerifierImpl_getImplementationName(); /// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL SignatureVerifierImpl_getSupportedServiceNames( ); -/// @throws css::uno::Exception -css::uno::Reference< css::uno::XInterface > -SAL_CALL SignatureVerifierImpl_createInstance( - const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr); - #endif diff --git a/xmlsecurity/source/framework/signaturecreatorimpl.cxx b/xmlsecurity/source/framework/signaturecreatorimpl.cxx index d938601afed7..b94a97583018 100644 --- a/xmlsecurity/source/framework/signaturecreatorimpl.cxx +++ b/xmlsecurity/source/framework/signaturecreatorimpl.cxx @@ -191,12 +191,6 @@ cssu::Sequence< OUString > SAL_CALL SignatureCreatorImpl_getSupportedServiceName return aRet; } -cssu::Reference< cssu::XInterface > SAL_CALL SignatureCreatorImpl_createInstance( - const cssu::Reference< cssl::XMultiServiceFactory >& /*xMSF*/ ) -{ - return static_cast(new SignatureCreatorImpl); -} - /* XServiceInfo */ OUString SAL_CALL SignatureCreatorImpl::getImplementationName( ) { diff --git a/xmlsecurity/source/framework/signatureverifierimpl.cxx b/xmlsecurity/source/framework/signatureverifierimpl.cxx index 0ae3b619ddcc..b02a78ee9d74 100644 --- a/xmlsecurity/source/framework/signatureverifierimpl.cxx +++ b/xmlsecurity/source/framework/signatureverifierimpl.cxx @@ -145,12 +145,6 @@ cssu::Sequence< OUString > SAL_CALL SignatureVerifierImpl_getSupportedServiceNam return aRet; } -cssu::Reference< cssu::XInterface > SAL_CALL SignatureVerifierImpl_createInstance( - const cssu::Reference< cssl::XMultiServiceFactory >& /*rSMgr*/) -{ - return static_cast(new SignatureVerifierImpl); -} - /* XServiceInfo */ OUString SAL_CALL SignatureVerifierImpl::getImplementationName( ) { -- cgit