From cd676159ca49756549fa81b29caf77a805cb4a5e Mon Sep 17 00:00:00 2001
From: Caolán McNamara <caolanm@redhat.com>
Date: Thu, 1 Dec 2011 23:31:52 +0000
Subject: ByteString->rtl::OString[Buffer]

---
 unotools/source/misc/componentresmodule.cxx | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

(limited to 'unotools')

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;
         }
-- 
cgit