summaryrefslogtreecommitdiff
path: root/fpicker
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 /fpicker
parentba4df3dd31ee9b2ced2a9119ecfd263e95de5ee6 (diff)
ResMgr with LanguageTag
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/Library_fps_office.mk1
-rw-r--r--fpicker/source/win32/misc/resourceprovider.cxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/fpicker/Library_fps_office.mk b/fpicker/Library_fps_office.mk
index 10b6d065f9c5..f9c69ea7484b 100644
--- a/fpicker/Library_fps_office.mk
+++ b/fpicker/Library_fps_office.mk
@@ -50,6 +50,7 @@ $(eval $(call gb_Library_use_libraries,fps_office,\
ucbhelper \
utl \
vcl \
+ i18nisolang1 \
$(gb_UWINAPI) \
))
diff --git a/fpicker/source/win32/misc/resourceprovider.cxx b/fpicker/source/win32/misc/resourceprovider.cxx
index 6ecbae53dade..4e4cc9e0a9e7 100644
--- a/fpicker/source/win32/misc/resourceprovider.cxx
+++ b/fpicker/source/win32/misc/resourceprovider.cxx
@@ -107,7 +107,7 @@ public:
{
const SolarMutexGuard aGuard;
m_ResMgr = new SimpleResMgr(
- "fps_office", Application::GetSettings().GetUILanguageTag().getLocale());
+ "fps_office", Application::GetSettings().GetUILanguageTag());
}
//-------------------------------------