summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-10-27 13:20:51 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2018-10-27 14:54:25 +0200
commit52a4986d8f87550df1ae3295926d5a5f1ff3dde2 (patch)
treee1558e75439447121c01cd320a52690a4f983579 /include
parent142985383f9ccc321e3fa084ce81d3d436c85c45 (diff)
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@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdmrkv.hxx2
1 files changed, 1 insertions, 1 deletions
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;