summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-14 23:59:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-15 09:21:48 +0100
commit42fc17bf2f4c0a8ed92e1bf78f54642bd77c23d0 (patch)
tree0a7838b2eff34028634661b1ce44d83f9192a652 /rsc
parenta04d91ea3b11a37b8717999aeeb72239077b4619 (diff)
ByteString->rtl::OString
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/rsc/rsc.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx
index 26520bbc2abd..168d93dc904b 100644
--- a/rsc/source/rsc/rsc.cxx
+++ b/rsc/source/rsc/rsc.cxx
@@ -150,8 +150,9 @@ RscCmdLine::RscCmdLine( int argc, char ** argv, RscError * pEH )
nCommands |= PRINTSYNTAX_FLAG;
}
else if( !rsc_strnicmp( (*ppStr) + 1, "RefDeep", 7 ) )
- { // maximale Aufloesungtiefe fuer Referenzen
- nRefDeep = ByteString( (*ppStr) +1 + strlen( "RefDeep" ) ).ToInt32();
+ {
+ // maximale Aufloesungtiefe fuer Referenzen
+ nRefDeep = rtl::OString((*ppStr) + 1 + RTL_CONSTASCII_LENGTH("RefDeep")).toInt32();
}
else if( !rsc_stricmp( (*ppStr) + 1, "p" ) )
{ // kein Preprozessor