diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-16 09:40:28 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-16 11:37:11 +0000 |
commit | 21a9bc8716a88fa2472c525b2e6f84fe1213a8f8 (patch) | |
tree | a162ac3df92c1f1dfef046ab6426ffc9ca5d2b7b /linguistic/workben | |
parent | b317d5fbb5a0a8dc695391de3f9f6ee339341987 (diff) |
no need to take a mutex when only dealing with stack-local data
Change-Id: Ie45e626aad55a8174a53b769a98601bf54dedf65
Reviewed-on: https://gerrit.libreoffice.org/19979
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'linguistic/workben')
-rw-r--r-- | linguistic/workben/sspellimp.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/linguistic/workben/sspellimp.cxx b/linguistic/workben/sspellimp.cxx index 32b8686f0587..5310fe5dbde2 100644 --- a/linguistic/workben/sspellimp.cxx +++ b/linguistic/workben/sspellimp.cxx @@ -408,7 +408,6 @@ void SAL_CALL OUString SAL_CALL SpellChecker::getImplementationName() throw(RuntimeException) { - MutexGuard aGuard( GetLinguMutex() ); return getImplementationName_Static(); } @@ -422,7 +421,6 @@ sal_Bool SAL_CALL SpellChecker::supportsService( const OUString& ServiceName ) Sequence< OUString > SAL_CALL SpellChecker::getSupportedServiceNames() throw(RuntimeException) { - MutexGuard aGuard( GetLinguMutex() ); return getSupportedServiceNames_Static(); } @@ -430,7 +428,6 @@ Sequence< OUString > SAL_CALL SpellChecker::getSupportedServiceNames() Sequence< OUString > SpellChecker::getSupportedServiceNames_Static() throw() { - MutexGuard aGuard( GetLinguMutex() ); Sequence< OUString > aSNS { SN_SPELLCHECKER }; return aSNS; } |