diff options
Diffstat (limited to 'rsc/source/parser')
-rw-r--r-- | rsc/source/parser/rsclex.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rsc/source/parser/rsclex.cxx b/rsc/source/parser/rsclex.cxx index cbe2f0eded4d..e03aa09444d5 100644 --- a/rsc/source/parser/rsclex.cxx +++ b/rsc/source/parser/rsclex.cxx @@ -223,7 +223,8 @@ int MakeToken( YYSTYPE * pTokenVal ) Atom nHashId; OStringBuffer aBuf( 256 ); - while( isalnum (c) || (c == '_') || (c == '-') || (c == ':')) + while( rtl::isAsciiAlphanumeric (static_cast<unsigned char>(c)) + || (c == '_') || (c == '-') || (c == ':')) { aBuf.append( sal_Char(c) ); c = pFI->GetFastChar(); |