[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.2' - filter/source

Jan Holesovsky kendy at collabora.com
Thu Jun 12 06:25:46 PDT 2014


 filter/source/graphicfilter/ipict/ipict.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit ec2b9de03d25ed8a3e2cbf4fbbc21c5ff81f0b27
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Tue Jun 10 17:13:38 2014 +0200

    pct import: Reset clip region before closing the metafile.
    
    Otherwise parts of the image are missing.
    
    Change-Id: If9018c32807359862a9be825b0ebdaacce2d3490

diff --git a/filter/source/graphicfilter/ipict/ipict.cxx b/filter/source/graphicfilter/ipict/ipict.cxx
index f1903e9..a78f9bc 100644
--- a/filter/source/graphicfilter/ipict/ipict.cxx
+++ b/filter/source/graphicfilter/ipict/ipict.cxx
@@ -1852,6 +1852,7 @@ void PictReader::ReadPict( SvStream & rStreamPict, GDIMetaFile & rGDIMetaFile )
         pPict->Seek(nPos);
     }
 
+    pVirDev->SetClipRegion();
     rGDIMetaFile.Stop();
     delete pVirDev;
 


More information about the Libreoffice-commits mailing list