summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-28 08:39:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-30 06:23:00 +0000
commita45827b2308febc7369db27fb489a6d1389534e1 (patch)
tree0b697341738010da35bd0a6a6189ef6761e5db0a /starmath
parent2387c2a46e15995686d28dccdfd455012072b4cf (diff)
loplugin:unusedmethods
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath')
-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(); }