[Libreoffice-commits] core.git: include/svx

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Oct 27 12:54:46 UTC 2018


 include/svx/svdmrkv.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 52a4986d8f87550df1ae3295926d5a5f1ff3dde2
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Sat Oct 27 13:20:51 2018 +0200
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Sat Oct 27 14:54:25 2018 +0200

    tdf#120703 PVS: V524
    
    V524 It is odd that the body of 'GetRef2' function is fully equivalent
         to the body of 'GetRef1' function.
    
    Was that way since 2007 (commit 6002b49955c75135489a4f2af0eab14eaeaaf31b)
    
    Change-Id: Iff75ebafd13ce47c23c80be8bc6b5995954b524f
    Reviewed-on: https://gerrit.libreoffice.org/62415
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    Tested-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/include/svx/svdmrkv.hxx b/include/svx/svdmrkv.hxx
index 08e0d10d5e62..abffdba68434 100644
--- a/include/svx/svdmrkv.hxx
+++ b/include/svx/svdmrkv.hxx
@@ -425,7 +425,7 @@ public:
     void SetRef1(const Point& rPt);
 
     // End point of the axis of reflextion
-    const Point& GetRef2() const { return maRef1; }
+    const Point& GetRef2() const { return maRef2; }
     void SetRef2(const Point& rPt);
     /// Get access to the view shell owning this draw view, if any.
     virtual SfxViewShell* GetSfxViewShell() const;


More information about the Libreoffice-commits mailing list