diff options
author | Eike Rathke <erack@redhat.com> | 2013-08-30 13:23:32 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-08-30 13:30:00 +0200 |
commit | 9f1d47f8246b5513fa3a54ff16de4b1f4dd647ab (patch) | |
tree | 81ae3facd574e4a18ee11630d14301619f8a5417 /shell/source/tools/lngconvex/lngconvex.cxx | |
parent | 74929bba736cc6cceed3c088e13f5952abb1bd2b (diff) |
attempt to roughly fix fdo#68740
Actually that map wants a resolved fallback locale, not just a language
to ID mapping, which light fallback was a side effect of
MsLangId::convertIsoNamesToLanguage() and eliminated with the latest
changes to LanguageTag conversion.
Change-Id: I32f632c6b198383dd3eda8538ccb801c9275baca
Diffstat (limited to 'shell/source/tools/lngconvex/lngconvex.cxx')
-rw-r--r-- | shell/source/tools/lngconvex/lngconvex.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/tools/lngconvex/lngconvex.cxx b/shell/source/tools/lngconvex/lngconvex.cxx index ea326c702c49..8c95f2a7c9b0 100644 --- a/shell/source/tools/lngconvex/lngconvex.cxx +++ b/shell/source/tools/lngconvex/lngconvex.cxx @@ -330,7 +330,7 @@ void add_group_entries( iso_lang_identifier myiso_lang( iso_lang ); LanguageType ltype = LanguageTag( OStringToOUString( myiso_lang.language(), RTL_TEXTENCODING_UTF8), - OStringToOUString( myiso_lang.country(), RTL_TEXTENCODING_UTF8)).getLanguageType(); + OStringToOUString( myiso_lang.country(), RTL_TEXTENCODING_UTF8)).makeFallback().getLanguageType(); if( ( ltype & 0x0200 ) == 0 && map[ ltype ].empty() ) { Substitutor.set_language(iso_lang_identifier(iso_lang)); |