summaryrefslogtreecommitdiff
path: root/lingucomponent
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-12-11 22:15:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-12 09:16:09 +0000
commitd6f2dd831a37ce214c05ed558c4fef2b76b9b121 (patch)
tree8e523b0b3d27d126f1dfd526c3879dbfc7273116 /lingucomponent
parent221a3413af1b0f86a78c141fb2ea8fe969911dfb (diff)
remove useless Mutex guards
Change-Id: Ib1edb681b47ce98e2e810d15111932002786aa51 Reviewed-on: https://gerrit.libreoffice.org/31875 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lingucomponent')
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.cxx1
-rw-r--r--lingucomponent/source/thesaurus/libnth/nthesimp.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index db690ae83d11..dadf485ddbdb 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -558,7 +558,6 @@ sal_Bool SAL_CALL SpellChecker::removeLinguServiceEventListener(
OUString SAL_CALL SpellChecker::getServiceDisplayName( const Locale& /*rLocale*/ )
throw(RuntimeException, std::exception)
{
- MutexGuard aGuard( GetLinguMutex() );
return OUString( "Hunspell SpellChecker" );
}
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
index f8a66da0d962..03514baa6d4d 100644
--- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
+++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx
@@ -522,7 +522,6 @@ Reference< XInterface > SAL_CALL Thesaurus_CreateInstance(
OUString SAL_CALL Thesaurus::getServiceDisplayName( const Locale& /*rLocale*/ )
throw(RuntimeException, std::exception)
{
- MutexGuard aGuard( GetLinguMutex() );
return OUString( "Mythes Thesaurus" );
}