From a4968af0d141b60d65c0a2b0ebcdf91599f7fe3d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 19 Sep 2011 01:47:39 +0100 Subject: ByteString->rtl::OString --- tools/bootstrp/mkunroll/mkunroll.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tools/bootstrp') diff --git a/tools/bootstrp/mkunroll/mkunroll.cxx b/tools/bootstrp/mkunroll/mkunroll.cxx index c1b0252a65ca..27636038fa72 100644 --- a/tools/bootstrp/mkunroll/mkunroll.cxx +++ b/tools/bootstrp/mkunroll/mkunroll.cxx @@ -88,7 +88,7 @@ typedef ::std::vector< MkLine* > ByteStringList; class MkLine { public: - ByteString aLine; + rtl::OString aLine; ByteStringList* pPrivateTnrLst; sal_Bool bOut; sal_Bool bHier; @@ -177,7 +177,8 @@ void MkFilter::Filter() fprintf( stderr, ";\nunroll end\n" ); MkLine *p_MkLine = new MkLine(); p_MkLine->bHier = sal_True; - p_MkLine->aLine = ByteString("# do not delete this line === mkfilter3i\n"); + p_MkLine->aLine = rtl::OString(RTL_CONSTASCII_STRINGPARAM( + "# do not delete this line === mkfilter3i\n")); p_MkLine->bOut = sal_False; p_MkLine->pPrivateTnrLst = pTnrLst; pTnrLst = new ByteStringList(); @@ -185,7 +186,7 @@ void MkFilter::Filter() nState = 0; bInTnrList = sal_False; } - pMkLine->aLine = ByteString( aLineBuf ); + pMkLine->aLine = rtl::OString(aLineBuf); pMkLine->bOut = sal_False; if ( bInTnrList ) @@ -226,7 +227,7 @@ void MkFilter::Filter() pLine->pPrivateTnrLst = NULL; } if ( pLine->bOut ) - fputs(pLine->aLine.GetBuffer(), pOut ); + fputs(pLine->aLine.getStr(), pOut ); } fprintf( stderr, "\n" ); } -- cgit