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

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


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

New commits:
commit 61d6cf35ab3fc9ea09790d5f5f30a25c5132d12c
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>
    Reviewed-on: https://gerrit.libreoffice.org/4190
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Reviewed-by: Michael Meeks <michael.meeks at suse.com>
    Tested-by: Michael Meeks <michael.meeks at suse.com>
    Reviewed-by: Kohei Yoshida <kohei.yoshida at suse.de>
    Tested-by: Kohei Yoshida <kohei.yoshida at suse.de>

diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 81f7eb7..201603f 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1763,6 +1763,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