diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-19 01:47:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-19 09:59:25 +0100 |
commit | a4968af0d141b60d65c0a2b0ebcdf91599f7fe3d (patch) | |
tree | 814ddcff6cc2b3a0b4ba53279315fe31800c00cd /tools/bootstrp | |
parent | c9894bda18af063c0c564ca7548e1084b7c84ac5 (diff) |
ByteString->rtl::OString
Diffstat (limited to 'tools/bootstrp')
-rw-r--r-- | tools/bootstrp/mkunroll/mkunroll.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
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" ); } |