summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-20 11:10:15 +0200
committerNoel Grandin <noel@peralex.com>2013-11-20 13:56:07 +0200
commit5112f6a6c6e4cd76045f31e269a679b50dc83fb2 (patch)
treeed7af465f490d743b06831216243fddbd2e13940 /rsc
parent0b4b02d9b6cf5b939dc1522d8348e3f4d6f955d4 (diff)
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
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/res/rscall.cxx12
1 files changed, 4 insertions, 8 deletions
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;