summaryrefslogtreecommitdiff
path: root/comphelper/source/streaming
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-01-04 15:38:49 +0000
committerOliver Bolte <obo@openoffice.org>2008-01-04 15:38:49 +0000
commit371ea4320c8289cc246538101ca1e71fc6bdd46f (patch)
tree4906d30f35162b75fa84e5d1e3906ddfc445a9b6 /comphelper/source/streaming
parentdb95da6addad0d53b6a8c7475c8f8089da98e628 (diff)
INTEGRATION: CWS fwk77 (1.9.116); FILE MERGED
2007/10/18 12:48:29 mav 1.9.116.1: #i81435# introduce SeekableOutputStream implementation; use new registration
Diffstat (limited to 'comphelper/source/streaming')
-rw-r--r--comphelper/source/streaming/seqstream.cxx7
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);
}
//--------------------------------------------------------------------------