summaryrefslogtreecommitdiff
path: root/svtools/source/edit/syntaxhighlight.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/edit/syntaxhighlight.cxx')
-rw-r--r--svtools/source/edit/syntaxhighlight.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/edit/syntaxhighlight.cxx b/svtools/source/edit/syntaxhighlight.cxx
index 87585f5b2587..6ea9f05d78a1 100644
--- a/svtools/source/edit/syntaxhighlight.cxx
+++ b/svtools/source/edit/syntaxhighlight.cxx
@@ -523,7 +523,7 @@ BOOL SimpleTokenizer_Impl::getNextToken( /*out*/TokenTypes& reType,
c = getChar(); // '/' entfernen
// Alle Zeichen bis Zeilen-Ende oder EOF entfernen
- sal_Unicode cPeek = peekChar();
+ sal_Unicode cPeek = c;
while( cPeek != CHAR_EOF && testCharFlags( cPeek, CHAR_EOL ) == FALSE )
{
getChar();