diff options
author | Eike Rathke <erack@redhat.com> | 2013-08-30 16:12:20 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-08-30 16:23:53 +0200 |
commit | 012f52c06f4f2efae8750d23db100f3eef6096d9 (patch) | |
tree | 808d0224cc7a1667fabf950dffbc5251a19794bd | |
parent | 6c3d74e8b779b1eb2d9779ed84f1518e078113c4 (diff) |
originally was convertIsoNamesToLanguage(), use makeFallback()
Change-Id: I4e49778a7519e8e4e1e1fce115b1b0ad30040f72
-rw-r--r-- | i18nlangtag/source/isolang/inunx.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18nlangtag/source/isolang/inunx.cxx b/i18nlangtag/source/isolang/inunx.cxx index a20a64dae1e2..5f6e64273788 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( *procLocale ).getLanguageType(); + nLang = LanguageTag( *procLocale ).makeFallback().getLanguageType(); OSL_DOUBLE_CHECKED_LOCKING_MEMORY_BARRIER(); rSystemLanguage = nLang; #ifdef DEBUG |