diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 14:59:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-03-01 20:38:36 +0000 |
commit | cc864650e0ea91144129b652d250e6de6de46e73 (patch) | |
tree | b50b740ae3120f70bed4269221d45dceca28146c /formula | |
parent | avoid implicit cast (diff) | |
download | core-cc864650e0ea91144129b652d250e6de6de46e73.tar.gz core-cc864650e0ea91144129b652d250e6de6de46e73.zip |
pointless to go from char* to OString to char*
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/ui/resource/ModuleHelper.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/formula/source/ui/resource/ModuleHelper.cxx b/formula/source/ui/resource/ModuleHelper.cxx index b9ac84c66265..a0c2ae61f859 100644 --- a/formula/source/ui/resource/ModuleHelper.cxx +++ b/formula/source/ui/resource/ModuleHelper.cxx @@ -90,8 +90,7 @@ ResMgr* OModuleImpl::getResManager() if (!m_pRessources) { // create a manager with a fixed prefix - rtl::OString sName = rtl::OString( "forui" ); - m_pRessources = ResMgr::CreateResMgr(sName); + m_pRessources = ResMgr::CreateResMgr("forui"); } return m_pRessources; } |