summaryrefslogtreecommitdiff
path: root/idl
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 /idl
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 'idl')
-rw-r--r--idl/source/cmptools/lex.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx
index 3e131ee7bf43..23793a661882 100644
--- a/idl/source/cmptools/lex.cxx
+++ b/idl/source/cmptools/lex.cxx
@@ -85,8 +85,8 @@ SvToken & SvToken::operator = ( const SvToken & rObj )
void SvTokenStream::InitCtor()
{
- aStrTrue = OString(RTL_CONSTASCII_STRINGPARAM("TRUE"));
- aStrFalse = OString(RTL_CONSTASCII_STRINGPARAM("FALSE"));
+ aStrTrue = OString("TRUE");
+ aStrFalse = OString("FALSE");
nLine = nColumn = 0;
nBufPos = 0;
nTabSize = 4;