summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-14 16:31:22 +0200
committerNoel Grandin <noel@peralex.com>2016-01-15 09:36:41 +0200
commit602a64939da2df486099eba967aa9148ced1d8d4 (patch)
tree886c50020b24d855cb3480943171b1129742fa43 /linguistic
parentabb87856dd6a722245cc9dd690bfcec6ecd901da (diff)
loplugin:unusedmethods unused return value in l10ntools,linguistic
Change-Id: I11571c25e527787a2054bc8106a27c44b8a96116
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/lngsvcmgr.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index a1c06675a51b..9c5919f11f47 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -191,7 +191,7 @@ class LngSvcMgrListenerHelper :
void LaunchEvent( sal_Int16 nLngSvcEvtFlags );
- long Timeout();
+ void Timeout();
public:
LngSvcMgrListenerHelper( LngSvcMgr &rLngSvcMgr,
@@ -260,7 +260,7 @@ void SAL_CALL LngSvcMgrListenerHelper::disposing( const lang::EventObject& rSour
}
}
-long LngSvcMgrListenerHelper::Timeout()
+void LngSvcMgrListenerHelper::Timeout()
{
osl::MutexGuard aGuard( GetLinguMutex() );
@@ -284,7 +284,6 @@ long LngSvcMgrListenerHelper::Timeout()
xRef->processLinguServiceEvent( aEvtObj );
}
}
- return 0;
}