summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-11-16 15:23:54 +0100
committerEike Rathke <erack@redhat.com>2012-11-16 17:20:20 +0100
commite055182f274228c368503195745096c020c58ee2 (patch)
treef78278a35bf44b4282b522451f152734ccd4b4b0 /tools
parent26b8cd2b3ef8fed72ba52e0b8f9b002f7cfd23c4 (diff)
use LanguageTag
Change-Id: I5138eb613ba78c2bc876e45e6845eef4d1212314
Diffstat (limited to 'tools')
-rw-r--r--tools/source/rc/resmgr.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx
index 50179eaa29c8..2f35eeffd8c6 100644
--- a/tools/source/rc/resmgr.cxx
+++ b/tools/source/rc/resmgr.cxx
@@ -37,6 +37,7 @@
#include <sal/log.hxx>
#include <rtl/instance.hxx>
#include <rtl/bootstrap.hxx>
+#include <i18npool/languagetag.hxx>
#include <i18npool/mslangid.hxx>
#include <tools/simplerm.hxx>
@@ -249,7 +250,7 @@ void ResMgrContainer::init()
// set default language
LanguageType nLang = MsLangId::getSystemUILanguage();
- MsLangId::convertLanguageToLocale(nLang, m_aDefLocale);
+ m_aDefLocale = LanguageTag( nLang).getLocale();
}
namespace