summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-11-28 13:55:37 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-06-12 17:16:54 +0100
commite94baf5bcd5ceb749ff54d68287b1d37b211b535 (patch)
tree558c55d7310b37a1bc16d7b8a6305499f4416313 /drawinglayer
parent829d31c122afe13df3463fe905fff4a9e93d13db (diff)
Related: #i121387# Corrected flag usages in RenderPolygonHairlinePrimitive2D
(cherry picked from commit e3eebb16c90fa5c3320fa9843e3420293bec6ab2) Conflicts: drawinglayer/source/processor2d/vclprocessor2d.cxx Change-Id: I245d7ebc040580057948fdd5888f55eaca783b2a
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclprocessor2d.cxx7
1 files changed, 4 insertions, 3 deletions
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)
{