summaryrefslogtreecommitdiff
path: root/drawinglayer/source/processor2d/vclprocessor2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/processor2d/vclprocessor2d.cxx')
-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)
{