[Libreoffice-commits] core.git: lingucomponent/source

Caolán McNamara caolanm at redhat.com
Mon Oct 23 12:16:27 UTC 2017


 lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit daa6fe9f040314bf05f914a45e10a8d7b9613d3b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Oct 23 13:13:49 2017 +0100

    hardly need a mutex to return a local string
    
    Change-Id: Ic147ad6af32de022802d1d14858197bf61c29a28

diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
index aa7e23ed160d..d278878b283f 100644
--- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
+++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
@@ -747,7 +747,6 @@ sal_Bool SAL_CALL Hyphenator::removeLinguServiceEventListener(
 
 OUString SAL_CALL Hyphenator::getServiceDisplayName( const Locale& /*rLocale*/ )
 {
-    MutexGuard  aGuard( GetLinguMutex() );
     return OUString( "Libhyphen Hyphenator" );
 }
 


More information about the Libreoffice-commits mailing list