[Libreoffice-commits] core.git: cppcanvas/source

Muthu Subramanian sumuthu at collabora.com
Thu Oct 10 02:19:35 PDT 2013


 cppcanvas/source/mtfrenderer/emfplus.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 3d0d0717e8afdeb398931d59b1ab337c43b7197c
Author: Muthu Subramanian <sumuthu at collabora.com>
Date:   Thu Oct 10 14:49:51 2013 +0530

    n#812793: Reverting the workaround.

diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx
index 3bee95f..5685c49 100644
--- a/cppcanvas/source/mtfrenderer/emfplus.cxx
+++ b/cppcanvas/source/mtfrenderer/emfplus.cxx
@@ -1462,11 +1462,6 @@ namespace cppcanvas
 
                                 ::basegfx::B2DPolyPolygon polyPolygon (polygon);
 
-                                // n#812793: EMF+ Seems to specify transparent background with Alpha=0xFF !
-                                // Workaround for the problem.
-                                if( isColor && brushIndexOrColor == 0xFFFFFFFF && rectangles == 1 )
-                                    brushIndexOrColor = 0xFFFFFF;
-
                                 EMFPPlusFillPolygon (polyPolygon, rFactoryParms, rState, rCanvas, isColor, brushIndexOrColor);
                             }
                             break;


More information about the Libreoffice-commits mailing list