[Libreoffice-commits] core.git: sc/source

Tomaž Vajngerl tomaz.vajngerl at collabora.com
Sun Dec 20 13:21:34 PST 2015


 sc/source/filter/excel/xechart.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit c6b11cf681f8e8d131031ea7e5d19c4b6473503a
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.com>
Date:   Sun Dec 20 22:13:19 2015 +0100

    tdf#93949 ensure memory stream is properly flushed
    
    Change-Id: I6d6a926f5d3fd62dd3b7b78a5721f6483b3b4ee7

diff --git a/sc/source/filter/excel/xechart.cxx b/sc/source/filter/excel/xechart.cxx
index 83f2aa3..eac9364 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 );
 }


More information about the Libreoffice-commits mailing list