summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/pastedlg.cxx
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 /cui/source/dialogs/pastedlg.cxx
parentba4df3dd31ee9b2ced2a9119ecfd263e95de5ee6 (diff)
ResMgr with LanguageTag
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
Diffstat (limited to 'cui/source/dialogs/pastedlg.cxx')
-rw-r--r--cui/source/dialogs/pastedlg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx
index 43c6e6eefdbe..a2997915bbe8 100644
--- a/cui/source/dialogs/pastedlg.cxx
+++ b/cui/source/dialogs/pastedlg.cxx
@@ -199,8 +199,7 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper& rHelper,
if( !aTypeName.Len() && !aSourceName.Len() )
{
- com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILanguageTag().getLocale();
- ResMgr* pMgr = ResMgr::CreateResMgr( "svt", aLocale );
+ ResMgr* pMgr = ResMgr::CreateResMgr( "svt", Application::GetSettings().GetUILanguageTag() );
// global resource from svtools (former so3 resource)
if( pMgr )
aSourceName = String( ResId( STR_UNKNOWN_SOURCE, *pMgr ) );