summaryrefslogtreecommitdiff
path: root/rsc/source/prj
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-18 23:12:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-19 09:59:24 +0100
commit8004d2d6f516e4dfb1b0b37e257c90249b77f08d (patch)
treee69cedd692270f7fdb5b37137b972521a6c8863a /rsc/source/prj
parent2d4db01597c2b2df64aaa7ccbe42ed587faba838 (diff)
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'rsc/source/prj')
-rw-r--r--rsc/source/prj/start.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx
index be085254354f..78911399faf9 100644
--- a/rsc/source/prj/start.cxx
+++ b/rsc/source/prj/start.cxx
@@ -47,6 +47,7 @@
#include <rsctools.hxx>
#include <rscerror.h>
#include <sal/main.h>
+#include <rtl/strbuf.hxx>
#include <tools/fsys.hxx>
/*************** C O D E ************************************************/
@@ -119,9 +120,9 @@ static sal_Bool CallPrePro( const ByteString& rInput,
if( fRspFile )
{
aRespCmdL.Append( rsc_strdup( "rscpp" ) );
- ByteString aTmpStr( '@' );
- aTmpStr += aRspFileName;
- aRespCmdL.Append( rsc_strdup( aTmpStr.GetBuffer() ) );
+ rtl::OStringBuffer aTmpStr;
+ aTmpStr.append('@').append(aRspFileName);
+ aRespCmdL.Append( rsc_strdup( aTmpStr.getStr() ) );
aRespCmdL.Append( (void *)0 );
pCmdL = &aRespCmdL;