summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools
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 /connectivity/source/commontools
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 'connectivity/source/commontools')
-rw-r--r--connectivity/source/commontools/formattedcolumnvalue.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/formattedcolumnvalue.cxx b/connectivity/source/commontools/formattedcolumnvalue.cxx
index 072802e9a9eb..e290875236b1 100644
--- a/connectivity/source/commontools/formattedcolumnvalue.cxx
+++ b/connectivity/source/commontools/formattedcolumnvalue.cxx
@@ -155,7 +155,7 @@ namespace dbtools
if ( !bHaveFieldFormat )
{
// fall back to a format key as indicated by the field type
- Locale aSystemLocale( LanguageTag( MsLangId::getSystemLanguage() ).getLocale() );
+ Locale aSystemLocale( LanguageTag( MsLangId::getConfiguredSystemLanguage() ).getLocale() );
Reference< XNumberFormatTypes > xNumTypes( xNumberFormatsSupp->getNumberFormats(), UNO_QUERY_THROW );
_rData.m_nFormatKey = getDefaultNumberFormat( _rxColumn, xNumTypes, aSystemLocale );
}