summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-02 11:01:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-02 12:16:54 +0200
commit9297aa2c08bdcdf7bf7c132fd908cd8a4cb0fae1 (patch)
treed4059a9073dd29fa19ec5a1279dc7f5fa3e802fd /linguistic
parent2859c2541d0da5dc689d912a166f370ced9dc8de (diff)
loplugin:checkunusedparams in hwpfilter..lotuswordpro
Change-Id: I4925a95cc74571c2e0ffd413d7ac8bc162c247d7 Reviewed-on: https://gerrit.libreoffice.org/37143 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdiclist.cxx2
-rw-r--r--linguistic/source/dlistimp.cxx11
-rw-r--r--linguistic/source/gciterator.cxx3
-rw-r--r--linguistic/source/lngopt.cxx2
-rw-r--r--linguistic/source/lngreg.cxx17
-rw-r--r--linguistic/source/lngreg.hxx15
-rw-r--r--linguistic/source/lngsvcmgr.cxx3
7 files changed, 19 insertions, 34 deletions
diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx
index b852077ab3e8..0951d6796ed8 100644
--- a/linguistic/source/convdiclist.cxx
+++ b/linguistic/source/convdiclist.cxx
@@ -568,7 +568,7 @@ uno::Reference< uno::XInterface > SAL_CALL ConvDicList_CreateInstance(
void * SAL_CALL ConvDicList_getFactory(
const sal_Char * pImplName,
- XMultiServiceFactory * pServiceManager, void * )
+ XMultiServiceFactory * pServiceManager )
{
void * pRet = nullptr;
if ( ConvDicList::getImplementationName_Static().equalsAscii( pImplName ) )
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index e432114d75ab..bff87e2f66ad 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -89,8 +89,7 @@ public:
void DisposeAndClear( const EventObject &rEvtObj );
bool AddDicListEvtListener(
- const uno::Reference< XDictionaryListEventListener >& rxListener,
- bool bReceiveVerbose );
+ const uno::Reference< XDictionaryListEventListener >& rxListener );
bool RemoveDicListEvtListener(
const uno::Reference< XDictionaryListEventListener >& rxListener );
sal_Int16 BeginCollectEvents() { return ++nNumCollectEvtListeners;}
@@ -203,8 +202,7 @@ void SAL_CALL DicEvtListenerHelper::processDictionaryEvent(
bool DicEvtListenerHelper::AddDicListEvtListener(
- const uno::Reference< XDictionaryListEventListener >& xListener,
- bool /*bReceiveVerbose*/ )
+ const uno::Reference< XDictionaryListEventListener >& xListener )
{
DBG_ASSERT( xListener.is(), "empty reference" );
sal_Int32 nCount = aDicListEvtListeners.getLength();
@@ -474,8 +472,7 @@ sal_Bool SAL_CALL DicList::addDictionaryListEventListener(
bool bRes = false;
if (xListener.is()) //! don't add empty references
{
- bRes = mxDicEvtLstnrHelper->
- AddDicListEvtListener( xListener, bReceiveVerbose );
+ bRes = mxDicEvtLstnrHelper->AddDicListEvtListener( xListener );
}
return bRes;
}
@@ -711,7 +708,7 @@ uno::Sequence< OUString > DicList::getSupportedServiceNames_Static() throw()
}
void * SAL_CALL DicList_getFactory( const sal_Char * pImplName,
- XMultiServiceFactory * pServiceManager, void * )
+ XMultiServiceFactory * pServiceManager )
{
void * pRet = nullptr;
if ( DicList::getImplementationName_Static().equalsAscii( pImplName ) )
diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx
index a86813acb07d..6b2540ab18ab 100644
--- a/linguistic/source/gciterator.cxx
+++ b/linguistic/source/gciterator.cxx
@@ -1139,8 +1139,7 @@ static uno::Reference< uno::XInterface > SAL_CALL GrammarCheckingIterator_create
void * SAL_CALL GrammarCheckingIterator_getFactory(
const sal_Char *pImplName,
- lang::XMultiServiceFactory *pServiceManager,
- void * /*pRegistryKey*/ )
+ lang::XMultiServiceFactory *pServiceManager )
{
void * pRet = nullptr;
if ( GrammarCheckingIterator_getImplementationName().equalsAscii( pImplName ) )
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx
index 96908dd1ac73..8a7cfb4d7dca 100644
--- a/linguistic/source/lngopt.cxx
+++ b/linguistic/source/lngopt.cxx
@@ -451,7 +451,7 @@ Locale LinguProps::getPropertyLocale(const OUString& aPropertyName)
}
void * SAL_CALL LinguProps_getFactory( const sal_Char * pImplName,
- XMultiServiceFactory *pServiceManager, void * )
+ XMultiServiceFactory *pServiceManager )
{
void * pRet = nullptr;
if ( LinguProps::getImplementationName_Static().equalsAscii( pImplName ) )
diff --git a/linguistic/source/lngreg.cxx b/linguistic/source/lngreg.cxx
index 16f8bf1da4ef..dee7d0f97d6c 100644
--- a/linguistic/source/lngreg.cxx
+++ b/linguistic/source/lngreg.cxx
@@ -32,37 +32,32 @@ extern "C"
{
SAL_DLLPUBLIC_EXPORT void * SAL_CALL lng_component_getFactory(
- const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
+ const sal_Char * pImplName, void * pServiceManager, void * /*pRegistryKey*/ )
{
void * pRet =
LngSvcMgr_getFactory(
pImplName,
- static_cast< XMultiServiceFactory * >( pServiceManager ),
- pRegistryKey );
+ static_cast< XMultiServiceFactory * >( pServiceManager ) );
if(!pRet)
pRet = LinguProps_getFactory(
pImplName,
- static_cast< XMultiServiceFactory * >( pServiceManager ),
- pRegistryKey );
+ static_cast< XMultiServiceFactory * >( pServiceManager ) );
if(!pRet)
pRet = DicList_getFactory(
pImplName,
- static_cast< XMultiServiceFactory * >( pServiceManager ),
- pRegistryKey );
+ static_cast< XMultiServiceFactory * >( pServiceManager ) );
if(!pRet)
pRet = ConvDicList_getFactory(
pImplName,
- static_cast< XMultiServiceFactory * >( pServiceManager ),
- pRegistryKey );
+ static_cast< XMultiServiceFactory * >( pServiceManager ) );
if(!pRet)
pRet = GrammarCheckingIterator_getFactory(
pImplName,
- static_cast< XMultiServiceFactory * >( pServiceManager ),
- pRegistryKey );
+ static_cast< XMultiServiceFactory * >( pServiceManager ) );
return pRet;
}
}
diff --git a/linguistic/source/lngreg.hxx b/linguistic/source/lngreg.hxx
index 370e079ba1d0..fb6800ab1c8d 100644
--- a/linguistic/source/lngreg.hxx
+++ b/linguistic/source/lngreg.hxx
@@ -31,36 +31,31 @@ namespace com { namespace sun { namespace star { namespace lang {
extern void * SAL_CALL LngSvcMgr_getFactory
(
const sal_Char * pImplName,
- css::lang::XMultiServiceFactory * pServiceManager,
- void * /*pRegistryKey*/
+ css::lang::XMultiServiceFactory * pServiceManager
);
extern void * SAL_CALL DicList_getFactory
(
const sal_Char * pImplName,
- css::lang::XMultiServiceFactory * pServiceManager,
- void *
+ css::lang::XMultiServiceFactory * pServiceManager
);
void * SAL_CALL LinguProps_getFactory
(
const sal_Char * pImplName,
- css::lang::XMultiServiceFactory * pServiceManager,
- void *
+ css::lang::XMultiServiceFactory * pServiceManager
);
extern void * SAL_CALL ConvDicList_getFactory
(
const sal_Char * pImplName,
- css::lang::XMultiServiceFactory * pServiceManager,
- void *
+ css::lang::XMultiServiceFactory * pServiceManager
);
extern void * SAL_CALL GrammarCheckingIterator_getFactory
(
const sal_Char * pImplName,
- css::lang::XMultiServiceFactory * pServiceManager,
- void *
+ css::lang::XMultiServiceFactory * pServiceManager
);
#endif
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index 380b30f61acf..dbaf1de9c0d6 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -1988,8 +1988,7 @@ uno::Reference< uno::XInterface > SAL_CALL LngSvcMgr_CreateInstance(
void * SAL_CALL LngSvcMgr_getFactory(
const sal_Char * pImplName,
- lang::XMultiServiceFactory * pServiceManager,
- void * /*pRegistryKey*/ )
+ lang::XMultiServiceFactory * pServiceManager )
{
void * pRet = nullptr;