diff options
Diffstat (limited to 'unotools/source/config/syslocaleoptions.cxx')
-rw-r--r-- | unotools/source/config/syslocaleoptions.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx index 7e136113257b..f266b4d637da 100644 --- a/unotools/source/config/syslocaleoptions.cxx +++ b/unotools/source/config/syslocaleoptions.cxx @@ -266,11 +266,11 @@ void SvtSysLocaleOptions_Impl::MakeRealLocale() if (m_aLocaleString.isEmpty()) { LanguageType nLang = MsLangId::getSystemLanguage(); - m_aRealLocale.reset( nLang); + m_aRealLocale.reset( nLang).makeFallback(); } else { - m_aRealLocale.reset( m_aLocaleString); + m_aRealLocale.reset( m_aLocaleString).makeFallback(); } } @@ -279,11 +279,11 @@ void SvtSysLocaleOptions_Impl::MakeRealUILocale() if (m_aUILocaleString.isEmpty()) { LanguageType nLang = MsLangId::getSystemUILanguage(); - m_aRealUILocale.reset( nLang); + m_aRealUILocale.reset( nLang).makeFallback(); } else { - m_aRealUILocale.reset( m_aUILocaleString); + m_aRealUILocale.reset( m_aUILocaleString).makeFallback(); } } |