summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/insdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/dialogs/insdlg.cxx')
-rw-r--r--cui/source/dialogs/insdlg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/dialogs/insdlg.cxx b/cui/source/dialogs/insdlg.cxx
index bca33d8f9e02..8d2091d3fa03 100644
--- a/cui/source/dialogs/insdlg.cxx
+++ b/cui/source/dialogs/insdlg.cxx
@@ -70,8 +70,7 @@ using namespace ::com::sun::star::ui::dialogs;
static String impl_getSvtResString( sal_uInt32 nId )
{
String aRet;
- com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILanguageTag().getLocale();
- ResMgr* pMgr = ResMgr::CreateResMgr( "svt", aLocale );
+ ResMgr* pMgr = ResMgr::CreateResMgr( "svt", Application::GetSettings().GetUILanguageTag() );
if( pMgr )
{
aRet = String( ResId( nId, *pMgr ) );