From a45827b2308febc7369db27fb489a6d1389534e1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 28 Jul 2015 08:39:57 +0200 Subject: loplugin:unusedmethods Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins Reviewed-by: Noel Grandin --- starmath/inc/rect.hxx | 1 - 1 file changed, 1 deletion(-) (limited to 'starmath') 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(); } -- cgit