summaryrefslogtreecommitdiff
path: root/lingucomponent/source/languageguessing
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-16 09:40:28 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-16 11:37:11 +0000
commit21a9bc8716a88fa2472c525b2e6f84fe1213a8f8 (patch)
treea162ac3df92c1f1dfef046ab6426ffc9ca5d2b7b /lingucomponent/source/languageguessing
parentb317d5fbb5a0a8dc695391de3f9f6ee339341987 (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 'lingucomponent/source/languageguessing')
-rw-r--r--lingucomponent/source/languageguessing/guesslang.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/lingucomponent/source/languageguessing/guesslang.cxx b/lingucomponent/source/languageguessing/guesslang.cxx
index 8ac3e8da7e34..0cc0054e4b49 100644
--- a/lingucomponent/source/languageguessing/guesslang.cxx
+++ b/lingucomponent/source/languageguessing/guesslang.cxx
@@ -325,7 +325,6 @@ void SAL_CALL LangGuess_Impl::enableLanguages(
OUString SAL_CALL LangGuess_Impl::getImplementationName( )
throw(RuntimeException, std::exception)
{
- osl::MutexGuard aGuard( GetLangGuessMutex() );
return OUString( IMPLNAME );
}
@@ -338,7 +337,6 @@ sal_Bool SAL_CALL LangGuess_Impl::supportsService( const OUString& ServiceName )
Sequence<OUString> SAL_CALL LangGuess_Impl::getSupportedServiceNames( )
throw(RuntimeException, std::exception)
{
- osl::MutexGuard aGuard( GetLangGuessMutex() );
return getSupportedServiceNames_Static();
}