use LanguageTag
Change-Id: Iea2c5ae21c8d7c143f9f4a0e3c42c963cfc28d33
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
#include "userinformation.hxx"
|
#include "userinformation.hxx"
|
||||||
|
|
||||||
#include <osl/diagnose.h>
|
#include <osl/diagnose.h>
|
||||||
#include <i18npool/mslangid.hxx>
|
#include <i18npool/languagetag.hxx>
|
||||||
#include <unotools/configmgr.hxx>
|
#include <unotools/configmgr.hxx>
|
||||||
|
|
||||||
using namespace ::utl;
|
using namespace ::utl;
|
||||||
@@ -30,10 +30,7 @@ using namespace ::com::sun::star::lang;
|
|||||||
|
|
||||||
//--------------------------------------------------------------------------
|
//--------------------------------------------------------------------------
|
||||||
UserInformation::UserInformation():
|
UserInformation::UserInformation():
|
||||||
m_aUserLocale(
|
m_aUserLocale( LanguageTag( ConfigManager::getLocale()).getLocale())
|
||||||
MsLangId::convertLanguageToLocale(
|
|
||||||
MsLangId::convertIsoStringToLanguage(
|
|
||||||
ConfigManager::getLocale(), '-')))
|
|
||||||
{}
|
{}
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
Reference in New Issue
Block a user