summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2021-10-18 23:22:33 +0200
committerEike Rathke <erack@redhat.com>2021-10-19 00:20:36 +0200
commite3c3c3b84ef6b91f89a5e388e6538f18a2e8b13e (patch)
treebfacaa3679c5a5377354c0469c8a6dece907db91 /xmloff/source/style
parent20081a8ea052b2f31915bd127c3b282cf5025d59 (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 'xmloff/source/style')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 14400f04785a..4c313538b0df 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -226,7 +226,7 @@ SvXMLNumFmtExport::SvXMLNumFmtExport(
}
else
{
- LanguageTag aLanguageTag( MsLangId::getSystemLanguage() );
+ LanguageTag aLanguageTag( MsLangId::getConfiguredSystemLanguage() );
pLocaleData.reset( new LocaleDataWrapper( rExport.getComponentContext(), aLanguageTag ) );
}
@@ -256,7 +256,7 @@ SvXMLNumFmtExport::SvXMLNumFmtExport(
}
else
{
- LanguageTag aLanguageTag( MsLangId::getSystemLanguage() );
+ LanguageTag aLanguageTag( MsLangId::getConfiguredSystemLanguage() );
pLocaleData.reset( new LocaleDataWrapper( rExport.getComponentContext(), aLanguageTag ) );
}