diff options
author | Eike Rathke <erack@redhat.com> | 2021-10-18 23:22:33 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2021-10-19 00:20:36 +0200 |
commit | e3c3c3b84ef6b91f89a5e388e6538f18a2e8b13e (patch) | |
tree | bfacaa3679c5a5377354c0469c8a6dece907db91 /cui/source/options | |
parent | 20081a8ea052b2f31915bd127c3b282cf5025d59 (diff) |
Use MsLangId::getConfiguredSystemLanguage()
Change-Id: I298f762ac7f3298aa9cb9621ad1f8cae50527b24
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123790
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'cui/source/options')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/optlingu.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index 5424c03622f4..30b98e8de55f 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -1681,7 +1681,7 @@ IMPL_LINK_NOARG(OfaLanguagesTabPage, LocaleSettingHdl, weld::ComboBox&, void) } const NfCurrencyEntry& rCurr = SvNumberFormatter::GetCurrencyEntry( - (eLang == LANGUAGE_USER_SYSTEM_CONFIG) ? MsLangId::getSystemLanguage() : eLang); + (eLang == LANGUAGE_USER_SYSTEM_CONFIG) ? MsLangId::getConfiguredSystemLanguage() : eLang); const OUString aDefaultID = "default"; // Update the "Default ..." currency. m_xCurrencyLB->remove_id(aDefaultID); diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index 3460582c2116..3e0acc1c05d7 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -1586,7 +1586,7 @@ SvxEditModulesDlg::SvxEditModulesDlg(weld::Window* pParent, SvxLinguData_Impl& r LanguageType nLang = LanguageTag::convertToLanguageType( locale ); m_xLanguageLB->InsertLanguage(nLang); } - LanguageType eSysLang = MsLangId::getSystemLanguage(); + LanguageType eSysLang = MsLangId::getConfiguredSystemLanguage(); m_xLanguageLB->set_active_id( eSysLang ); if (m_xLanguageLB->get_active_id() != eSysLang) m_xLanguageLB->set_active(0); |