use LanguageTag

Change-Id: Iea2c5ae21c8d7c143f9f4a0e3c42c963cfc28d33
This commit is contained in:
Eike Rathke
2012-11-17 01:33:52 +01:00
parent 715957c39a
commit cd52a285c1

View File

@@ -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: */