From f7e4cf3c27100dbaf292dfacf0964bdade0a866a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 21 Dec 2015 12:45:29 +0200 Subject: loplugin:unusedfields in sw Change-Id: I4d987718bf27766c8cd7f3654db6645e5a7f554a --- sw/source/uibase/uno/unomodule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/source/uibase/uno/unomodule.cxx') diff --git a/sw/source/uibase/uno/unomodule.cxx b/sw/source/uibase/uno/unomodule.cxx index 5cb62a9db2aa..da6f74cf3a8c 100644 --- a/sw/source/uibase/uno/unomodule.cxx +++ b/sw/source/uibase/uno/unomodule.cxx @@ -45,11 +45,11 @@ uno::Sequence< OUString > SAL_CALL SwUnoModule_getSupportedServiceNames() throw( } uno::Reference< uno::XInterface > SAL_CALL SwUnoModule_createInstance( - const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) + const uno::Reference< lang::XMultiServiceFactory > & ) throw (css::uno::Exception) { SolarMutexGuard aGuard; - return uno::Reference< uno::XInterface >( dynamic_cast< frame::XDispatch * >(new SwUnoModule( rSMgr )), uno::UNO_QUERY ); + return uno::Reference< uno::XInterface >( dynamic_cast< frame::XDispatch * >(new SwUnoModule), uno::UNO_QUERY ); } // XNotifyingDispatch -- cgit