diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/dialmgr.cxx | 5 | ||||
-rw-r--r-- | svx/source/form/datanavi.cxx | 4 | ||||
-rw-r--r-- | svx/source/gallery2/galmisc.cxx | 3 | ||||
-rw-r--r-- | svx/source/svdraw/svdetc.cxx | 3 |
4 files changed, 4 insertions, 11 deletions
diff --git a/svx/source/dialog/dialmgr.cxx b/svx/source/dialog/dialmgr.cxx index 87fb3d1095fe..9fdd4104be00 100644 --- a/svx/source/dialog/dialmgr.cxx +++ b/svx/source/dialog/dialmgr.cxx @@ -46,10 +46,7 @@ static ResMgr* pResMgr=0; ResMgr* DialogsResMgr::GetResMgr() { if ( !pResMgr ) - { - ByteString aName( "svx" ); - pResMgr = ResMgr::CreateResMgr( aName.GetBuffer(), Application::GetSettings().GetUILocale() ); - } + pResMgr = ResMgr::CreateResMgr( "svx", Application::GetSettings().GetUILocale() ); return pResMgr; } diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index 25c05260338c..793e4b207526 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -810,10 +810,8 @@ namespace svxform { // create a resource manager, for the svx resource file // and the UI locale - ByteString aResourceFile( "svx" ); ResMgr* pResMgr = ResMgr::CreateResMgr( - aResourceFile.GetBuffer(), - Application::GetSettings().GetUILocale() ); + "svx", Application::GetSettings().GetUILocale() ); // load the resources for the AddSubmission modal dialog. // This will create our own resource context. 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; diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx index 79a031e46760..77e61798d969 100644 --- a/svx/source/svdraw/svdetc.cxx +++ b/svx/source/svdraw/svdetc.cxx @@ -671,9 +671,8 @@ ResMgr* ImpGetResMgr() if(!rGlobalData.pResMgr) { - ByteString aName("svx"); rGlobalData.pResMgr = - ResMgr::CreateResMgr( aName.GetBuffer(), Application::GetSettings().GetUILocale() ); + ResMgr::CreateResMgr( "svx", Application::GetSettings().GetUILocale() ); } return rGlobalData.pResMgr; |