summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 12:36:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 14:20:27 +0200
commit6df22f0ec513415cf6c920c1f8063dabe7303c06 (patch)
tree59d4d9205c51da0ffc14d895abdf00c1a4b8e8b7 /lingucomponent
parenta6f29aae36e5b07d877d7ea833b6d06b49b5574a (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')
-rw-r--r--lingucomponent/source/hyphenator/hyphen/hreg.cxx5
-rw-r--r--lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx2
-rw-r--r--lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx3
-rw-r--r--lingucomponent/source/spellcheck/spell/sreg.cxx5
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.cxx2
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.hxx3
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.cxx2
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.hxx3
-rw-r--r--lingucomponent/source/thesaurus/libnth/ntreg.cxx5
9 files changed, 12 insertions, 18 deletions
diff --git a/lingucomponent/source/hyphenator/hyphen/hreg.cxx b/lingucomponent/source/hyphenator/hyphen/hreg.cxx
index 7eb861741eba..853d904d5df8 100644
--- a/lingucomponent/source/hyphenator/hyphen/hreg.cxx
+++ b/lingucomponent/source/hyphenator/hyphen/hreg.cxx
@@ -32,12 +32,11 @@ extern "C"
{
SAL_DLLPUBLIC_EXPORT void * SAL_CALL hyphen_component_getFactory(
- const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
+ const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
{
void * pRet = Hyphenator_getFactory(
pImplName,
- static_cast< XMultiServiceFactory * >( pServiceManager ),
- pRegistryKey );
+ static_cast< XMultiServiceFactory * >( pServiceManager ) );
return pRet;
}
diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
index 3378ba2716d6..430a4628f7f8 100644
--- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
+++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
@@ -872,7 +872,7 @@ Sequence< OUString > Hyphenator::getSupportedServiceNames_Static()
}
void * SAL_CALL Hyphenator_getFactory( const sal_Char * pImplName,
- XMultiServiceFactory * pServiceManager, void * )
+ XMultiServiceFactory * pServiceManager )
{
void * pRet = nullptr;
if ( Hyphenator::getImplementationName_Static().equalsAscii( pImplName ) )
diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx
index 94f6db85011d..128f74324c62 100644
--- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx
+++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx
@@ -131,8 +131,7 @@ inline OUString Hyphenator::getImplementationName_Static() throw()
}
void * SAL_CALL Hyphenator_getFactory(
- char const * pImplName, css::lang::XMultiServiceFactory * pServiceManager,
- void *);
+ char const * pImplName, css::lang::XMultiServiceFactory * pServiceManager);
#endif
diff --git a/lingucomponent/source/spellcheck/spell/sreg.cxx b/lingucomponent/source/spellcheck/spell/sreg.cxx
index 5a783e66205b..2aa96896d360 100644
--- a/lingucomponent/source/spellcheck/spell/sreg.cxx
+++ b/lingucomponent/source/spellcheck/spell/sreg.cxx
@@ -32,13 +32,12 @@ extern "C"
{
SAL_DLLPUBLIC_EXPORT void * SAL_CALL spell_component_getFactory(
- const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
+ const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
{
void * pRet = nullptr;
pRet = SpellChecker_getFactory(
pImplName,
- static_cast< XMultiServiceFactory * >( pServiceManager ),
- pRegistryKey );
+ static_cast< XMultiServiceFactory * >( pServiceManager ) );
return pRet;
}
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index 8dcd123dbd00..301bd07e0bcd 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -673,7 +673,7 @@ Sequence< OUString > SpellChecker::getSupportedServiceNames_Static()
}
void * SAL_CALL SpellChecker_getFactory( const sal_Char * pImplName,
- XMultiServiceFactory * pServiceManager, void * )
+ XMultiServiceFactory * pServiceManager )
{
void * pRet = nullptr;
if ( SpellChecker::getImplementationName_Static().equalsAscii( pImplName ) )
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.hxx b/lingucomponent/source/spellcheck/spell/sspellimp.hxx
index c7e8cbf7a6a6..b8f5dc18f69b 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.hxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.hxx
@@ -119,8 +119,7 @@ inline OUString SpellChecker::getImplementationName_Static() throw()
}
void * SAL_CALL SpellChecker_getFactory(
- char const * pImplName, css::lang::XMultiServiceFactory * pServiceManager,
- void *);
+ char const * pImplName, css::lang::XMultiServiceFactory * pServiceManager);
#endif
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;
}