Author: alg
Date: Wed Nov 28 14:55:37 2012
New Revision: 1414736

URL: http://svn.apache.org/viewvc?rev=1414736&view=rev
Log:
#121387# Corrected wrong flag usages in RenderPolygonHairlinePrimitive2D

Modified:
    openoffice/trunk/main/drawinglayer/source/processor2d/vclprocessor2d.cxx

Modified: 
openoffice/trunk/main/drawinglayer/source/processor2d/vclprocessor2d.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/drawinglayer/source/processor2d/vclprocessor2d.cxx?rev=1414736&r1=1414735&r2=1414736&view=diff
==============================================================================
--- openoffice/trunk/main/drawinglayer/source/processor2d/vclprocessor2d.cxx 
(original)
+++ openoffice/trunk/main/drawinglayer/source/processor2d/vclprocessor2d.cxx 
Wed Nov 28 14:55:37 2012
@@ -425,9 +425,10 @@ namespace drawinglayer
                                aLocalTransform.decompose(aScale, aTranslate, 
fRotate, fShearX);
 
                 // #121387# when mirrored and rotated, avoid the 
GraphicManager output which has low quality
-                const bool bRotated(basegfx::fTools::equalZero(fRotate));
-                const bool bSheared(basegfx::fTools::equalZero(fShearX));
-                const bool bMirroredAndRotated(bRotated && (aScale.getX() < 
0.0 || aScale.getY() < 0.0));
+                const bool bRotated(!basegfx::fTools::equalZero(fRotate));
+                const bool bSheared(!basegfx::fTools::equalZero(fShearX));
+                const bool bMirrored(aScale.getX() < 0.0 || aScale.getY() < 
0.0);
+                const bool bMirroredAndRotated(bRotated && bMirrored);
 
                                if(!bForceUseOfOwnTransformer && !bSheared && 
!bMirroredAndRotated)
                                {


Reply via email to