diff --git a/dbaccess/source/core/misc/userinformation.cxx b/dbaccess/source/core/misc/userinformation.cxx index 88d0c82615fb..fc4e96a0e6ad 100644 --- a/dbaccess/source/core/misc/userinformation.cxx +++ b/dbaccess/source/core/misc/userinformation.cxx @@ -21,7 +21,7 @@ #include "userinformation.hxx" #include -#include +#include #include using namespace ::utl; @@ -30,10 +30,7 @@ using namespace ::com::sun::star::lang; //-------------------------------------------------------------------------- UserInformation::UserInformation(): - m_aUserLocale( - MsLangId::convertLanguageToLocale( - MsLangId::convertIsoStringToLanguage( - ConfigManager::getLocale(), '-'))) + m_aUserLocale( LanguageTag( ConfigManager::getLocale()).getLocale()) {} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */