diff options
author | Thomas Lange <tl@openoffice.org> | 2000-12-12 15:12:09 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2000-12-12 15:12:09 +0000 |
commit | 9f196726bf461b9af28c6ebf6a1d99a12ad41f19 (patch) | |
tree | 8155ea406626919ed8194d1873df5c9274fe7b2d /starmath | |
parent | 27c03d2350d2f2c6e63a255f9fd6cc2f07b2c405 (diff) |
#81811# IsWhiteSpace fixed
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/parse.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
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 <ctype.h> #ifndef _STACK_HXX //autogen #include <tools/stack.hxx> @@ -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 |