Use rtl::isAscii* instead of ctype.h is* (and fix passing plain char)
(was inadvertently missing from previous commit) Change-Id: Ia047ff8c21a50c5afe6fb2e6ff885be725b55bd3
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user