diff options
Diffstat (limited to 'comphelper/source/streaming')
-rw-r--r-- | comphelper/source/streaming/seqstream.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/comphelper/source/streaming/seqstream.cxx b/comphelper/source/streaming/seqstream.cxx index dfe498d318a0..252ed1e46e5f 100644 --- a/comphelper/source/streaming/seqstream.cxx +++ b/comphelper/source/streaming/seqstream.cxx @@ -4,9 +4,9 @@ * * $RCSfile: seqstream.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: obo $ $Date: 2006-09-17 17:21:22 $ + * last change: $Author: obo $ $Date: 2008-01-04 16:38:49 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -234,7 +234,8 @@ void SAL_CALL OSequenceOutputStream::flush( ) throw(NotConnectedException, Buff if (!m_bConnected) throw NotConnectedException(); - // nothing to do here + // cut the sequence to the real size + m_rSequence.realloc(m_nSize); } //-------------------------------------------------------------------------- |