use LanguageTag
Change-Id: Iea2c5ae21c8d7c143f9f4a0e3c42c963cfc28d33
This commit is contained in:
@@ -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: */
|
||||
|
Reference in New Issue
Block a user