From 9f196726bf461b9af28c6ebf6a1d99a12ad41f19 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Tue, 12 Dec 2000 15:12:09 +0000 Subject: #81811# IsWhiteSpace fixed --- starmath/inc/parse.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'starmath/inc') diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index 265fc66699bf..521d18e1c23c 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -2,9 +2,9 @@ * * $RCSfile: parse.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:57:24 $ + * last change: $Author: tl $ $Date: 2000-12-12 16:12:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,7 +62,6 @@ #define PARSE_HXX -#include #ifndef _STACK_HXX //autogen #include @@ -288,7 +287,7 @@ inline BOOL SmParser::TokenInGroup(ULONG nGroup) inline BOOL SmParser::IsWhiteSpace(const xub_Unicode cChar) const { - return isspace(cChar) != 0; + return cChar == ' ' || cChar == '\t' || cChar == '\n' || cChar == '\r'; } inline BOOL SmParser::IsComment(const xub_Unicode *pPos) const -- cgit v1.2.3