summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galmisc.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-01 12:20:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-01 20:38:36 +0000
commitc43d7d05ee07385e11f59f1db5556c277a79c02a (patch)
tree3cb80af31baf291d99f6ad6d13009ce1ffa71cbe /svx/source/gallery2/galmisc.cxx
parent377c162be97bddeda30e22df1d4d99da4c6ce3e1 (diff)
Pointless to convert char* to OString and back
Diffstat (limited to 'svx/source/gallery2/galmisc.cxx')
-rw-r--r--svx/source/gallery2/galmisc.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx
index 9c7f54ab012d..41dc47386f3a 100644
--- a/svx/source/gallery2/galmisc.cxx
+++ b/svx/source/gallery2/galmisc.cxx
@@ -76,9 +76,8 @@ ResMgr* GetGalleryResMgr()
if( !pGalleryResMgr )
{
- ByteString aResMgrName( "gal" );
pGalleryResMgr = ResMgr::CreateResMgr(
- aResMgrName.GetBuffer(), Application::GetSettings().GetUILocale() );
+ "gal", Application::GetSettings().GetUILocale() );
}
return pGalleryResMgr;