summaryrefslogtreecommitdiffstats
path: root/svx/source/gallery2
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-11-22 12:26:52 +0100
committerEike Rathke <erack@redhat.com>2012-11-22 12:34:59 +0100
commit9955dbebbdf1b7d36fec272dfea46f57fab47e19 (patch)
tree80705ccc2382e7440ea76f62a544d64d12d1ce4f /svx/source/gallery2
parentsw: remove WorkaroundForB6375613 (diff)
downloadcore-9955dbebbdf1b7d36fec272dfea46f57fab47e19.tar.gz
core-9955dbebbdf1b7d36fec272dfea46f57fab47e19.zip
AllSettings with LanguageTag
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
Diffstat (limited to 'svx/source/gallery2')
-rw-r--r--svx/source/gallery2/galmisc.cxx2
-rw-r--r--svx/source/gallery2/galobj.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx
index 4fd476915e20..8f70e1cec89e 100644
--- a/svx/source/gallery2/galmisc.cxx
+++ b/svx/source/gallery2/galmisc.cxx
@@ -76,7 +76,7 @@ ResMgr* GetGalleryResMgr()
if( !pGalleryResMgr )
{
pGalleryResMgr = ResMgr::CreateResMgr(
- "gal", Application::GetSettings().GetUILocale() );
+ "gal", Application::GetSettings().GetUILanguageTag().getLocale() );
}
return pGalleryResMgr;
diff --git a/svx/source/gallery2/galobj.cxx b/svx/source/gallery2/galobj.cxx
index f0a7b5541419..ab42c7125af0 100644
--- a/svx/source/gallery2/galobj.cxx
+++ b/svx/source/gallery2/galobj.cxx
@@ -207,7 +207,7 @@ const String SgaObject::GetTitle() const
{
rtl::OString aMgrName(rtl::OUStringToOString(aResourceName, RTL_TEXTENCODING_UTF8));
ResMgr* pResMgr = ResMgr::CreateResMgr( aMgrName.getStr(),
- Application::GetSettings().GetUILocale() );
+ Application::GetSettings().GetUILanguageTag().getLocale() );
if ( pResMgr )
{
ResId aResId( (sal_uInt16)nResId, *pResMgr );