diff options
author | Thomas Lange <tl@openoffice.org> | 2001-05-02 15:58:48 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2001-05-02 15:58:48 +0000 |
commit | 8a4e3ca13cbc1d8c8d685b7bc706be7f335d999c (patch) | |
tree | 7e1cc4b01048106fe33ca9a506be303d76666649 /starmath/source/parse.cxx | |
parent | a5d680de2a79f61024587175bc19bf09bacb857e (diff) |
Math configuration and Symbol/SymbolSet/SymbolSetManager
Diffstat (limited to 'starmath/source/parse.cxx')
-rw-r--r-- | starmath/source/parse.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 1a1e197393..8a38871b0b 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -2,9 +2,9 @@ * * $RCSfile: parse.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: tl $ $Date: 2001-04-25 15:13:15 $ + * last change: $Author: tl $ $Date: 2001-05-02 16:58:48 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -722,7 +722,10 @@ void SmParser::NextToken() CurToken.nRow = Row; CurToken.nCol = nTmpStart - ColOff + 1; - rnEndPos = aTmpRes.EndPos; + if (aTmpRes.EndPos > rnEndPos) + rnEndPos = aTmpRes.EndPos; + else + ++rnEndPos; } break; case '[': @@ -1314,7 +1317,7 @@ void SmParser::Blank() // Blanks am Zeilenende ignorieren wenn die entsprechende Option gesetzt ist if (CurToken.eType == TNEWLINE || CurToken.eType == TEND - && SM_MOD1()->GetConfig()->IsNoRightSpaces()) + && SM_MOD1()->GetConfig()->IsIgnoreSpacesRight()) pBlankNode->Clear(); NodeStack.Push(pBlankNode); |