diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-17 01:33:52 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-17 01:33:58 +0100 |
commit | cd52a285c183db9da7a2e40a0c314f6258f1d7af (patch) | |
tree | 1cf6d2ace9f734fbd7daefc4357d1ebd91fcac9d /dbaccess | |
parent | 715957c39a8e12a24dd592f55565be62da78c450 (diff) |
use LanguageTag
Change-Id: Iea2c5ae21c8d7c143f9f4a0e3c42c963cfc28d33
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/misc/userinformation.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
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 <osl/diagnose.h> -#include <i18npool/mslangid.hxx> +#include <i18npool/languagetag.hxx> #include <unotools/configmgr.hxx> 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: */ |