From 5112f6a6c6e4cd76045f31e269a679b50dc83fb2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 20 Nov 2013 11:10:15 +0200 Subject: remove RTL_CONSTASCII_STRINGPARAM in OString constructor Convert code like: OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX")); to: OString aKeyName("NDX"); which compiles down to the same code Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f --- rsc/source/res/rscall.cxx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'rsc') diff --git a/rsc/source/res/rscall.cxx b/rsc/source/res/rscall.cxx index a3d0df50d651..d2dbfb04d0ca 100644 --- a/rsc/source/res/rscall.cxx +++ b/rsc/source/res/rscall.cxx @@ -36,17 +36,13 @@ Atom nRsc_EXTRADATA = InvalidAtom; void InitRscCompiler() { - pStdParType = new OString(RTL_CONSTASCII_STRINGPARAM( - "( const ResId & rResId, sal_Bool")); + pStdParType = new OString("( const ResId & rResId, sal_Bool"); pStdPar1 = new OString('('); pStdPar2 = new OString('('); - pWinParType = new OString(RTL_CONSTASCII_STRINGPARAM( - "( Window * pParent, const ResId & rResId, sal_Bool")); - pWinPar1 = new OString(RTL_CONSTASCII_STRINGPARAM( - "( pParent,")); - pWinPar2 = new OString(RTL_CONSTASCII_STRINGPARAM( - "( this,")); + pWinParType = new OString("( Window * pParent, const ResId & rResId, sal_Bool"); + pWinPar1 = new OString("( pParent,"); + pWinPar2 = new OString("( this,"); nRefDeep = 10; nRsc_XYMAPMODEId = InvalidAtom; nRsc_WHMAPMODEId = InvalidAtom; -- cgit