From 8004d2d6f516e4dfb1b0b37e257c90249b77f08d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 18 Sep 2011 23:12:50 +0100 Subject: ByteString->rtl::OString[Buffer] --- rsc/source/res/rscall.cxx | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'rsc/source/res/rscall.cxx') diff --git a/rsc/source/res/rscall.cxx b/rsc/source/res/rscall.cxx index 26193d4cae51..62ff12548e12 100644 --- a/rsc/source/res/rscall.cxx +++ b/rsc/source/res/rscall.cxx @@ -50,13 +50,17 @@ Atom nRsc_EXTRADATA = InvalidAtom; void InitRscCompiler() { - pStdParType = new ByteString( "( const ResId & rResId, sal_Bool" ); - pStdPar1 = new ByteString( '(' ); - pStdPar2 = new ByteString( '(' ); + pStdParType = new rtl::OString(RTL_CONSTASCII_STRINGPARAM( + "( const ResId & rResId, sal_Bool")); + pStdPar1 = new rtl::OString('('); + pStdPar2 = new rtl::OString('('); - pWinParType = new ByteString( "( Window * pParent, const ResId & rResId, sal_Bool" ); - pWinPar1 = new ByteString( "( pParent," ); - pWinPar2 = new ByteString( "( this," ); + pWinParType = new rtl::OString(RTL_CONSTASCII_STRINGPARAM( + "( Window * pParent, const ResId & rResId, sal_Bool")); + pWinPar1 = new rtl::OString(RTL_CONSTASCII_STRINGPARAM( + "( pParent,")); + pWinPar2 = new rtl::OString(RTL_CONSTASCII_STRINGPARAM( + "( this,")); nRefDeep = 10; nRsc_XYMAPMODEId = InvalidAtom; nRsc_WHMAPMODEId = InvalidAtom; -- cgit