[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - filter/source

Jan Holesovsky kendy at collabora.com
Thu Jun 12 06:24:50 PDT 2014


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

New commits:
commit 921c9e1a269cc2b34cfd230f73f3c2350204fde8
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 3cbf4a2..64f998e 100644
--- a/filter/source/graphicfilter/ipict/ipict.cxx
+++ b/filter/source/graphicfilter/ipict/ipict.cxx
@@ -1860,6 +1860,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