diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2015-12-20 22:13:19 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2016-01-04 12:20:34 +0100 |
commit | 0fd184698adecd1bf79817b73e7dae7bb0267734 (patch) | |
tree | 3d03613d7a64d7993a91f76493847d876ec57ca1 /sc | |
parent | 3998ab1b6a055c7d6c2ff6c3869d07295b8017a3 (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>
(cherry picked from commit a0a35440453102d215456e3e2f16b4ee207b16de)
Diffstat (limited to 'sc')
-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 ); } |