diff options
author | Andreas Bregas <ab@openoffice.org> | 2001-07-10 13:30:45 +0000 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2001-07-10 13:30:45 +0000 |
commit | 4fd7209c0518badc8d09305c861f0ae453502103 (patch) | |
tree | c449d45611694093d297be4c17e001a680b794fa /io | |
parent | 217d2f863ab1b0d95016e6ccaeefa9b812a21f54 (diff) |
#89413# Be aware of single character line breaks
Diffstat (limited to 'io')
-rw-r--r-- | io/source/TextInputStream/TextInputStream.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx index 88b986245d70..eb54395c9089 100644 --- a/io/source/TextInputStream/TextInputStream.cxx +++ b/io/source/TextInputStream/TextInputStream.cxx @@ -2,9 +2,9 @@ * * $RCSfile: TextInputStream.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: jbu $ $Date: 2001-06-22 16:32:49 $ + * last change: $Author: ab $ $Date: 2001-07-10 14:30:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -281,6 +281,11 @@ OUString OTextInputStream::implReadString( const Sequence< sal_Unicode >& Delimi nBufferReadPos--; } } + else + { + // No second line end char + nBufferReadPos--; + } } else if( c == cLineEndChar1 || c == cLineEndChar2 ) { |