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

Eike Rathke erack at redhat.com
Sat Jul 13 03:14:30 PDT 2013


 i18nlangtag/source/isolang/inunx.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7c52d0d0a48611e571c4d7f85a71fbe81e711655
Author: Eike Rathke <erack at redhat.com>
Date:   Sat Jul 13 12:12:42 2013 +0200

    grml.. Mac
    
    Change-Id: Ia49d45a896a3ea5d180d98c3579fb93c6d4b9911

diff --git a/i18nlangtag/source/isolang/inunx.cxx b/i18nlangtag/source/isolang/inunx.cxx
index 9e30a8f..a20a64d 100644
--- a/i18nlangtag/source/isolang/inunx.cxx
+++ b/i18nlangtag/source/isolang/inunx.cxx
@@ -99,7 +99,7 @@ static void getPlatformSystemLanguageImpl( LanguageType& rSystemLanguage,
 
             if ( osl_getProcessLocale(&procLocale) == osl_Process_E_None )
             {
-                nLang = LanguageTag::convertToLanguageType( *procLocale );
+                nLang = LanguageTag( *procLocale ).getLanguageType();
                 OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER();
                 rSystemLanguage = nLang;
 #ifdef DEBUG


More information about the Libreoffice-commits mailing list