diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-01 23:31:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-06 10:33:04 +0000 |
commit | cd676159ca49756549fa81b29caf77a805cb4a5e (patch) | |
tree | eae9e14a9dfe2085dd9d0da39c008b6f076d9feb /unotools/source/misc/componentresmodule.cxx | |
parent | 73a395cdc7d3ad802182a470c799720307ed408e (diff) |
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'unotools/source/misc/componentresmodule.cxx')
-rw-r--r-- | unotools/source/misc/componentresmodule.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/unotools/source/misc/componentresmodule.cxx b/unotools/source/misc/componentresmodule.cxx index 56522ea63064..1e2d60713cc9 100644 --- a/unotools/source/misc/componentresmodule.cxx +++ b/unotools/source/misc/componentresmodule.cxx @@ -28,10 +28,9 @@ #include <unotools/componentresmodule.hxx> -/** === begin UNO includes === **/ -/** === end UNO includes === **/ #include <tools/resmgr.hxx> #include <osl/diagnose.h> +#include <rtl/strbuf.hxx> //........................................................................ namespace utl @@ -96,9 +95,9 @@ namespace utl m_pRessources = ResMgr::CreateResMgr( aMgrName.GetBuffer() ); OSL_ENSURE( m_pRessources, - ( ByteString( "OModuleImpl::getResManager: could not create the resource manager (file name: " ) - += aMgrName - += ByteString( ")!" ) ).GetBuffer() ); + rtl::OStringBuffer( "OModuleImpl::getResManager: could not create the resource manager (file name: " ) + .append(aMgrName) + .append(")!").getStr() ); m_bInitialized = sal_True; } |