summaryrefslogtreecommitdiff
path: root/starmath/inc/rect.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/inc/rect.hxx')
-rw-r--r--starmath/inc/rect.hxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx
index d590e3e23d7a..ac7e99d2e5ee 100644
--- a/starmath/inc/rect.hxx
+++ b/starmath/inc/rect.hxx
@@ -131,7 +131,6 @@ public:
long GetLeft() const { return GetTopLeft().X(); }
long GetBottom() const { return GetTop() + GetHeight() - 1; }
long GetRight() const { return GetLeft() + GetWidth() - 1; }
- long GetCenterX() const { return (GetLeft() + GetRight()) / 2L; }
long GetCenterY() const { return (GetTop() + GetBottom()) / 2L; }
long GetWidth() const { return GetSize().Width(); }
long GetHeight() const { return GetSize().Height(); }