summaryrefslogtreecommitdiff
path: root/idl/inc/lex.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-13 23:17:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-14 07:36:02 +0000
commit74500c21a462ed6555bcbdc2a68cbc632ac68329 (patch)
tree7189aac0092287448c7924aeb12ed101d9c92428 /idl/inc/lex.hxx
parentca48cd4c6061650a407358575369c66df72b767e (diff)
ByteString->rtl::OString
Diffstat (limited to 'idl/inc/lex.hxx')
-rw-r--r--idl/inc/lex.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/idl/inc/lex.hxx b/idl/inc/lex.hxx
index c3d28f117a8f..293c4d62a1b7 100644
--- a/idl/inc/lex.hxx
+++ b/idl/inc/lex.hxx
@@ -146,11 +146,11 @@ class SvTokenStream
void InitCtor();
- ByteString aBufStr;
+ rtl::OString aBufStr;
int GetNextChar();
int GetFastNextChar()
{
- return aBufStr.GetChar((sal_uInt16)nBufPos++);
+ return aBufStr[nBufPos++];
}
void FillTokenList();
@@ -171,7 +171,7 @@ class SvTokenStream
sal_uInt16 n = 0;
nColumn = 0;
while( n < nBufPos )
- nColumn += aBufStr.GetChar(n++) == '\t' ? nTabSize : 1;
+ nColumn += aBufStr[n++] == '\t' ? nTabSize : 1;
}
}
public: