diff options
author | jp <jp@openoffice.org> | 2002-03-13 10:01:10 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2002-03-13 10:01:10 +0000 |
commit | ad1909de531f4bfbd34108ffe4774be7968e087d (patch) | |
tree | 130692c6c7b49aa32444a6610b9c3a594b478c6d /sw/source/filter/ascii | |
parent | 1e31579dfcedb147c02e4d8b2910e6c43f206e25 (diff) |
Bug #97885#: don't skip the last character
Diffstat (limited to 'sw/source/filter/ascii')
-rw-r--r-- | sw/source/filter/ascii/parasc.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sw/source/filter/ascii/parasc.cxx b/sw/source/filter/ascii/parasc.cxx index 6c862ca62948..2a9706da4ee9 100644 --- a/sw/source/filter/ascii/parasc.cxx +++ b/sw/source/filter/ascii/parasc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: parasc.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: jp $ $Date: 2002-02-08 12:13:32 $ + * last change: $Author: jp $ $Date: 2002-03-13 11:01:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -821,8 +821,7 @@ ULONG SwASCIIParser::ReadChars() ++pStt; // JP 03.04.96: das letze am Ende nehmen wir nicht - if( !rInput.IsEof() || !(pEnd == pStt || - ( !*pEnd && pEnd == pStt+1 ) ) ) + if( !rInput.IsEof() || pEnd != pStt ) bSplitNode = TRUE; } break; @@ -848,9 +847,8 @@ ULONG SwASCIIParser::ReadChars() bChkSplit = TRUE; // JP 03.04.96: das letze am Ende nehmen wir nicht - if( bChkSplit && ( !rInput.IsEof() || - !(pEnd == pStt || ( !*pEnd && pEnd == pStt+1 )))) - bSplitNode = TRUE; + if( bChkSplit && ( !rInput.IsEof() || pEnd != pStt )) + bSplitNode = TRUE; } break; |