diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-12-05 16:54:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-12-05 20:10:48 +0100 |
commit | 87f370f1f7c84d4d7d8fc004f0d4a8a3986e02e3 (patch) | |
tree | e6123bed68c3c861e3e82ed83af6e12e49a89f12 /svx | |
parent | 2340639df07755a1d67fb59b52a9ece65f279f4a (diff) |
cid#1494630 #5 rearrange to demo Logically dead code
Change-Id: I96a8cde9c8886c2d962ff1053607810bc457cb88
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126388
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/contact/viewcontactofgraphic.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/source/sdr/contact/viewcontactofgraphic.cxx b/svx/source/sdr/contact/viewcontactofgraphic.cxx index dd4afd9ba64e..ea95c13db45d 100644 --- a/svx/source/sdr/contact/viewcontactofgraphic.cxx +++ b/svx/source/sdr/contact/viewcontactofgraphic.cxx @@ -326,11 +326,9 @@ namespace sdr::contact // accordingly. The created bitmapPrimitive WILL use the rotation, too. if (bRota180) { - bHMirr = !bMirrored; - // if bRota180 which is used for vertical mirroring, the graphic will already be rotated // by 180 degrees. To correct, switch off VMirror and invert HMirroring. - bHMirr = !bHMirr; + bHMirr = bMirrored; } else { |