summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/helper/tkresmgr.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/toolkit/source/helper/tkresmgr.cxx b/toolkit/source/helper/tkresmgr.cxx
index ae197370a355..376cc51c501a 100644
--- a/toolkit/source/helper/tkresmgr.cxx
+++ b/toolkit/source/helper/tkresmgr.cxx
@@ -55,9 +55,7 @@ void TkResMgr::ensureImplExists()
if (m_pSimpleResMgr)
return;
- ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILanguageTag().getLocale();
-
- m_pSimpleResMgr = SimpleResMgr::Create( "tk", aLocale );
+ m_pSimpleResMgr = SimpleResMgr::Create( "tk", Application::GetSettings().GetUILanguageTag() );
m_pResMgr = ResMgr::CreateResMgr( "tk" );
if (m_pSimpleResMgr)