diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-16 12:36:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-16 14:20:27 +0200 |
commit | 6df22f0ec513415cf6c920c1f8063dabe7303c06 (patch) | |
tree | 59d4d9205c51da0ffc14d895abdf00c1a4b8e8b7 /lingucomponent/source/thesaurus | |
parent | a6f29aae36e5b07d877d7ea833b6d06b49b5574a (diff) |
loplugin:checkunusedparams various
Change-Id: I5d1cc807134230d86e0226a12fada204004312d3
Reviewed-on: https://gerrit.libreoffice.org/37675
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lingucomponent/source/thesaurus')
-rw-r--r-- | lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 2 | ||||
-rw-r--r-- | lingucomponent/source/thesaurus/libnth/nthesimp.hxx | 3 | ||||
-rw-r--r-- | lingucomponent/source/thesaurus/libnth/ntreg.cxx | 5 |
3 files changed, 4 insertions, 6 deletions
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx index 0a5672a22a69..b8da4808ebce 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx @@ -634,7 +634,7 @@ Sequence< OUString > Thesaurus::getSupportedServiceNames_Static() } void * SAL_CALL Thesaurus_getFactory( const sal_Char * pImplName, - XMultiServiceFactory * pServiceManager, void * ) + XMultiServiceFactory * pServiceManager ) { void * pRet = nullptr; if ( Thesaurus::getImplementationName_Static().equalsAscii( pImplName ) ) diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.hxx b/lingucomponent/source/thesaurus/libnth/nthesimp.hxx index 97a03c039ad9..f2a1b0bbedcb 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.hxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.hxx @@ -134,8 +134,7 @@ inline OUString Thesaurus::getImplementationName_Static() throw() } void * SAL_CALL Thesaurus_getFactory( - char const * pImplName, css::lang::XMultiServiceFactory * pServiceManager, - void *); + char const * pImplName, css::lang::XMultiServiceFactory * pServiceManager); #endif diff --git a/lingucomponent/source/thesaurus/libnth/ntreg.cxx b/lingucomponent/source/thesaurus/libnth/ntreg.cxx index 11f03388621d..f83ecb28b972 100644 --- a/lingucomponent/source/thesaurus/libnth/ntreg.cxx +++ b/lingucomponent/source/thesaurus/libnth/ntreg.cxx @@ -32,12 +32,11 @@ extern "C" { SAL_DLLPUBLIC_EXPORT void * SAL_CALL lnth_component_getFactory( - const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey ) + const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ ) { void * pRet = Thesaurus_getFactory( pImplName, - static_cast< XMultiServiceFactory * >( pServiceManager ), - pRegistryKey ); + static_cast< XMultiServiceFactory * >( pServiceManager ) ); return pRet; } |