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 /lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx | |
parent | sw: Rename to avoid conflict after Frm -> Frame rename. (diff) | |
download | core-21a9bc8716a88fa2472c525b2e6f84fe1213a8f8.tar.gz core-21a9bc8716a88fa2472c525b2e6f84fe1213a8f8.zip |
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 'lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx')
-rw-r--r-- | lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx index 9a6ea3e0d57d..7b433a9fcd1a 100644 --- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx +++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx @@ -851,8 +851,6 @@ void SAL_CALL Hyphenator::removeEventListener( const Reference< XEventListener > OUString SAL_CALL Hyphenator::getImplementationName() throw(RuntimeException, std::exception) { - MutexGuard aGuard( GetLinguMutex() ); - return getImplementationName_Static(); } @@ -865,16 +863,12 @@ sal_Bool SAL_CALL Hyphenator::supportsService( const OUString& ServiceName ) Sequence< OUString > SAL_CALL Hyphenator::getSupportedServiceNames() throw(RuntimeException, std::exception) { - MutexGuard aGuard( GetLinguMutex() ); - return getSupportedServiceNames_Static(); } Sequence< OUString > Hyphenator::getSupportedServiceNames_Static() throw() { - MutexGuard aGuard( GetLinguMutex() ); - Sequence< OUString > aSNS { SN_HYPHENATOR }; return aSNS; } |