diff options
-rw-r--r-- | vcl/source/gdi/gdimtf.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx index 0fea0d01f669..4920f90dfb39 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(); |