Kaydet (Commit) 0048709c authored tarafından Jan Holesovsky's avatar Jan Holesovsky

pct import: Reset clip region before closing the metafile.

Otherwise parts of the image are missing.

Change-Id: If9018c32807359862a9be825b0ebdaacce2d3490
üst e7944dab
...@@ -1901,6 +1901,7 @@ void PictReader::ReadPict( SvStream & rStreamPict, GDIMetaFile & rGDIMetaFile ) ...@@ -1901,6 +1901,7 @@ void PictReader::ReadPict( SvStream & rStreamPict, GDIMetaFile & rGDIMetaFile )
pPict->Seek(nPos); pPict->Seek(nPos);
} }
pVirDev->SetClipRegion();
rGDIMetaFile.Stop(); rGDIMetaFile.Stop();
delete pVirDev; delete pVirDev;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment