diff options
Diffstat (limited to 'reportdesign')
-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 90db1ef61e91..c854a9987742 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 d132304be477..9c78d9efc35d 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; } |