From e94baf5bcd5ceb749ff54d68287b1d37b211b535 Mon Sep 17 00:00:00 2001 From: Armin Le Grand Date: Wed, 28 Nov 2012 13:55:37 +0000 Subject: Related: #i121387# Corrected flag usages in RenderPolygonHairlinePrimitive2D (cherry picked from commit e3eebb16c90fa5c3320fa9843e3420293bec6ab2) Conflicts: drawinglayer/source/processor2d/vclprocessor2d.cxx Change-Id: I245d7ebc040580057948fdd5888f55eaca783b2a --- drawinglayer/source/processor2d/vclprocessor2d.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'drawinglayer') diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx index bdf451ef0bb8..8a2ddccaf2a8 100644 --- a/drawinglayer/source/processor2d/vclprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx @@ -451,9 +451,10 @@ namespace drawinglayer aLocalTransform.decompose(aScale, aTranslate, fRotate, fShearX); // #i121387# 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) { -- cgit