From d6f2dd831a37ce214c05ed558c4fef2b76b9b121 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 11 Dec 2016 22:15:14 +0200 Subject: remove useless Mutex guards Change-Id: Ib1edb681b47ce98e2e810d15111932002786aa51 Reviewed-on: https://gerrit.libreoffice.org/31875 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- lingucomponent/source/spellcheck/spell/sspellimp.cxx | 1 - lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 1 - 2 files changed, 2 deletions(-) (limited to 'lingucomponent') 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" ); } -- cgit