summaryrefslogtreecommitdiff
path: root/i18nlangtag/source/isolang
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-08-30 16:12:20 +0200
committerEike Rathke <erack@redhat.com>2013-08-30 16:23:53 +0200
commit012f52c06f4f2efae8750d23db100f3eef6096d9 (patch)
tree808d0224cc7a1667fabf950dffbc5251a19794bd /i18nlangtag/source/isolang
parent6c3d74e8b779b1eb2d9779ed84f1518e078113c4 (diff)
originally was convertIsoNamesToLanguage(), use makeFallback()
Change-Id: I4e49778a7519e8e4e1e1fce115b1b0ad30040f72
Diffstat (limited to 'i18nlangtag/source/isolang')
-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 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