summaryrefslogtreecommitdiff
path: root/i18nlangtag
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-07-13 12:12:42 +0200
committerEike Rathke <erack@redhat.com>2013-07-13 12:13:55 +0200
commit7c52d0d0a48611e571c4d7f85a71fbe81e711655 (patch)
tree24ced0eaa41e7d64d297d69714836066d013904b /i18nlangtag
parent358d1a99484bcc02900bd200a7606a7bf3298cac (diff)
grml.. Mac
Change-Id: Ia49d45a896a3ea5d180d98c3579fb93c6d4b9911
Diffstat (limited to 'i18nlangtag')
-rw-r--r--i18nlangtag/source/isolang/inunx.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nlangtag/source/isolang/inunx.cxx b/i18nlangtag/source/isolang/inunx.cxx
index 9e30a8faec1c..a20a64dae1e2 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