[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - cppcanvas/source

Fridrich Å trba fridrich.strba at bluewin.ch
Fri Jun 7 07:06:31 PDT 2013


 cppcanvas/source/mtfrenderer/emfplus.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 5cef424e1a46ea50da8c0dafabe226dc79b65332
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Fri Jun 7 15:33:13 2013 +0200

    Transform the clipping polygon before using it
    
    (cherry picked from commit abdbb847fa135dd758ef3ef99db4c07a2671ca47)
    
    Change-Id: I71a00f7d4b80ef41b637889e51a414fac6883ba1
    Signed-off-by: Thorsten Behrens <tbehrens at suse.com>

diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 4282c47..897fa9517 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1770,6 +1770,7 @@ namespace cppcanvas
                                                                                                                                                         mappedPoint.getX() + mappedSize.getX(),
                                                                                                                                                         mappedPoint.getY() + mappedSize.getY() ) ) ) );
 
+                        polyPolygon.transform(rState.mapModeTransform);
                         updateClipping (polyPolygon, rFactoryParms, combineMode == 1);
 
                         break;


More information about the Libreoffice-commits mailing list