diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-12-20 22:13:19 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-12-21 14:08:19 +0000 |
commit | a0a35440453102d215456e3e2f16b4ee207b16de (patch) | |
tree | c499b86cf1d47d6fe0e4a6edf323d9789b4b4b5c | |
parent | c28aad62c7295b23d45a9e2fa579068922de8144 (diff) |
tdf#93949 ensure memory stream is properly flushed
Change-Id: I6d6a926f5d3fd62dd3b7b78a5721f6483b3b4ee7
(cherry picked from commit c6b11cf681f8e8d131031ea7e5d19c4b6473503a)
Reviewed-on: https://gerrit.libreoffice.org/20842
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
-rw-r--r-- | sc/source/filter/excel/xechart.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx index 4b6c300cd4a0..ce6746a9ff24 100644 --- a/sc/source/filter/excel/xechart.cxx +++ b/sc/source/filter/excel/xechart.cxx @@ -720,6 +720,7 @@ void XclExpChEscherFormat::WriteBody( XclExpStream& rStrm ) // write Escher property container via temporary memory stream SvMemoryStream aMemStrm; maData.mxEscherSet->Commit( aMemStrm ); + aMemStrm.Flush(); aMemStrm.Seek( STREAM_SEEK_TO_BEGIN ); rStrm.CopyFromStream( aMemStrm ); } |