[Libreoffice-commits] .: linguistic/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Dec 13 14:25:43 PST 2012


 linguistic/source/lngsvcmgr.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 3d0614275554ec9914917629b581f244788ebe63
Author: Eike Rathke <erack at redhat.com>
Date:   Thu Dec 13 23:25:10 2012 +0100

    removed unnecessary double-step conversion
    
    Change-Id: Ib5f89c40c0afb0a4e887ae97fd66179c29f0b5d0

diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx
index a6248ef..4f68407 100644
--- a/linguistic/source/lngsvcmgr.cxx
+++ b/linguistic/source/lngsvcmgr.cxx
@@ -1928,8 +1928,7 @@ uno::Sequence< OUString > SAL_CALL
 
     uno::Sequence< OUString > aSvcImplNames;
 
-    LanguageType nLanguage = LanguageTag( rLocale ).getLanguageType();
-    OUString aCfgLocale( LanguageTag( nLanguage ).getBcp47() );
+    OUString aCfgLocale( LanguageTag( rLocale).getBcp47() );
 
     uno::Sequence< uno::Any > aValues;
     uno::Sequence< OUString > aNames( 1 );


More information about the Libreoffice-commits mailing list