diff options
author | Eike Rathke <er@openoffice.org> | 2001-01-10 15:02:17 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2001-01-10 15:02:17 +0000 |
commit | a5e22b23eb8b0a9711430aae755ecedaf32d9fd8 (patch) | |
tree | 27862d8ded7846cac77ae762b7aa147330c8e76c /tools | |
parent | 80387601464ec5178fa37fe551be172635c19c11 (diff) |
ReadUniStringLine: advance filepos sizeof(sal_Unicode) instead of 1
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/stream/stream.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index 1559d735c1c8..7f0f97a2e6ac 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -2,9 +2,9 @@ * * $RCSfile: stream.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: er $ $Date: 2000-12-22 01:19:05 $ + * last change: $Author: er $ $Date: 2001-01-10 16:02:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -847,7 +847,7 @@ BOOL SvStream::ReadUniStringLine( String& rStr ) nOldFilePos += rStr.Len() * sizeof(sal_Unicode); if( Tell() > nOldFilePos ) - nOldFilePos++; + nOldFilePos += sizeof(sal_Unicode); Seek( nOldFilePos ); // seeken wg. obigem BlockRead! if ( bEnd && (c=='\r' || c=='\n') ) // Sonderbehandlung DOS-Dateien |