summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/source/tools/lngconvex/lngconvex.cxx2
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));