summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-03-29 14:07:33 +0100
committerEike Rathke <erack@redhat.com>2013-03-29 14:09:01 +0100
commit5be14df2444d9fcc3518c5f54872c87b924e3e98 (patch)
tree5a0b3b4b588469e9ff012c3a3328bdb224843160 /formula
parentba4df3dd31ee9b2ced2a9119ecfd263e95de5ee6 (diff)
ResMgr with LanguageTag
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
Diffstat (limited to 'formula')
-rw-r--r--formula/Library_forui.mk1
-rw-r--r--formula/source/core/resource/core_resource.cxx4
2 files changed, 2 insertions, 3 deletions
diff --git a/formula/Library_forui.mk b/formula/Library_forui.mk
index 130e621ba893..0706a40a28bc 100644
--- a/formula/Library_forui.mk
+++ b/formula/Library_forui.mk
@@ -53,6 +53,7 @@ $(eval $(call gb_Library_use_libraries,forui,\
tl \
utl \
vcl \
+ i18nisolang1 \
$(gb_UWINAPI) \
))
diff --git a/formula/source/core/resource/core_resource.cxx b/formula/source/core/resource/core_resource.cxx
index 63279d2db7ff..3e7160a48957 100644
--- a/formula/source/core/resource/core_resource.cxx
+++ b/formula/source/core/resource/core_resource.cxx
@@ -47,9 +47,7 @@ namespace formula
if (m_pImpl)
return;
- ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILanguageTag().getLocale();
-
- m_pImpl = ResMgr::CreateResMgr("for", aLocale);
+ m_pImpl = ResMgr::CreateResMgr("for", Application::GetSettings().GetUILanguageTag());
}
//-------------------------------------------------------------------------