[Libreoffice-commits] .: dbaccess/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Nov 16 16:34:27 PST 2012
dbaccess/source/core/misc/userinformation.cxx | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
New commits:
commit cd52a285c183db9da7a2e40a0c314f6258f1d7af
Author: Eike Rathke <erack at redhat.com>
Date: Sat Nov 17 01:33:52 2012 +0100
use LanguageTag
Change-Id: Iea2c5ae21c8d7c143f9f4a0e3c42c963cfc28d33
diff --git a/dbaccess/source/core/misc/userinformation.cxx b/dbaccess/source/core/misc/userinformation.cxx
index 88d0c82..fc4e96a 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: */
More information about the Libreoffice-commits
mailing list