svx/source/sdr/contact/viewcontactofgraphic.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 87f370f1f7c84d4d7d8fc004f0d4a8a3986e02e3
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sun Dec 5 16:54:39 2021 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sun Dec 5 20:10:48 2021 +0100

    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 <caol...@redhat.com>

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
             {

Reply via email to