diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/syntaxhighlight.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/syntaxhighlight.cxx b/comphelper/source/misc/syntaxhighlight.cxx index c9bac083beb6..ce326604c08e 100644 --- a/comphelper/source/misc/syntaxhighlight.cxx +++ b/comphelper/source/misc/syntaxhighlight.cxx @@ -368,7 +368,7 @@ sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /* { reType = TT_KEYWORDS; - if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem"))) + if (aByteStr.startsWith("rem")) { // Remove all characters until end of line or EOF sal_Unicode cPeek = *pos; |