diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/streaming/seqstream.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/comphelper/source/streaming/seqstream.cxx b/comphelper/source/streaming/seqstream.cxx index d66ce3bde083..aec451986075 100644 --- a/comphelper/source/streaming/seqstream.cxx +++ b/comphelper/source/streaming/seqstream.cxx @@ -214,6 +214,8 @@ void SAL_CALL OSequenceOutputStream::flush( ) throw(NotConnectedException, Buff // cut the sequence to the real size m_rSequence.realloc(m_nSize); + // and next time write to the beginning + m_nSize = 0; } |