[Libreoffice-commits] core.git: vcl/source
Noel Grandin
noel at peralex.com
Tue Mar 15 09:08:48 UTC 2016
vcl/source/gdi/gdimtf.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit c5bee7b8c1055e5052a261c8755bdb150fb27494
Author: Noel Grandin <noel at peralex.com>
Date: Tue Mar 15 11:05:07 2016 +0200
tdf#98600 and tdf#98622 fix metafile parsing
regression from commit db17d3c1 "new loplugin: memoryvar"
Change-Id: I8b11871cadcf50649533680be51c767d6bb98350
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index 0fea0d0..4920f90 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -2772,6 +2772,8 @@ SvStream& ReadGDIMetaFile( SvStream& rIStm, GDIMetaFile& rGDIMetaFile )
ReadPair( rIStm, rGDIMetaFile.aPrefSize );
rIStm.ReadUInt32( nCount );
+ pCompat.reset(); // needs to be deleted here for the parsing to work correctly
+
ImplMetaReadData aReadData;
aReadData.meActualCharSet = rIStm.GetStreamCharSet();
More information about the Libreoffice-commits
mailing list