diff options
-rw-r--r-- | reportdesign/source/core/resource/core_resource.cxx | 3 | ||||
-rw-r--r-- | reportdesign/source/core/sdr/ModuleHelper.cxx | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/reportdesign/source/core/resource/core_resource.cxx b/reportdesign/source/core/resource/core_resource.cxx index c7e6641e5..1af6c878a 100644 --- a/reportdesign/source/core/resource/core_resource.cxx +++ b/reportdesign/source/core/resource/core_resource.cxx @@ -66,8 +66,7 @@ namespace reportdesign ::com::sun::star::lang::Locale aLocale = Application::GetSettings().GetUILocale(); - rtl::OString sResLibName = rtl::OString( "rpt" ); - m_pImpl = SimpleResMgr::Create(sResLibName, aLocale); + m_pImpl = SimpleResMgr::Create("rpt", aLocale); } } diff --git a/reportdesign/source/core/sdr/ModuleHelper.cxx b/reportdesign/source/core/sdr/ModuleHelper.cxx index c823aed32..1e3873e79 100644 --- a/reportdesign/source/core/sdr/ModuleHelper.cxx +++ b/reportdesign/source/core/sdr/ModuleHelper.cxx @@ -90,8 +90,7 @@ ResMgr* OModuleImpl::getResManager() if (!m_pRessources) { // create a manager with a fixed prefix - rtl::OString sName = rtl::OString( "rptui" ); - m_pRessources = ResMgr::CreateResMgr(sName); + m_pRessources = ResMgr::CreateResMgr("rptui"); } return m_pRessources; } |