summaryrefslogtreecommitdiff
path: root/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
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/thesaurus/libnth/nthesimp.cxx
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/thesaurus/libnth/nthesimp.cxx')
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
index f1841c2f5330..357e8d932c48 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
@@ -623,7 +623,6 @@ void SAL_CALL Thesaurus::removeEventListener( const Reference< XEventListener >&
OUString SAL_CALL Thesaurus::getImplementationName()
throw(RuntimeException, std::exception)
{
- MutexGuard aGuard( GetLinguMutex() );
return getImplementationName_Static();
}
@@ -636,15 +635,12 @@ sal_Bool SAL_CALL Thesaurus::supportsService( const OUString& ServiceName )
Sequence< OUString > SAL_CALL Thesaurus::getSupportedServiceNames()
throw(RuntimeException, std::exception)
{
- MutexGuard aGuard( GetLinguMutex() );
return getSupportedServiceNames_Static();
}
Sequence< OUString > Thesaurus::getSupportedServiceNames_Static()
throw()
{
- MutexGuard aGuard( GetLinguMutex() );
-
Sequence< OUString > aSNS { SN_THESAURUS };
return aSNS;
}