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 /connectivity/source/commontools | |
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 'connectivity/source/commontools')
-rw-r--r-- | connectivity/source/commontools/formattedcolumnvalue.cxx | 2 |
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 ); } |