summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-27 08:49:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-27 09:13:25 +0100
commit48dc1e48d0fed5e00a3e4b5edf11a90fcc55b5ed (patch)
treed241315a5658db39879b6c58ca651a0e4469990a /sw/source/uibase
parent4ca1789e5735e2f2926822562c19e1989c8f5ce2 (diff)
loplugin:unnecessaryoverride look for more patterns
like bool Foo::bar() { b = Super::bar(); return b; } Change-Id: I5e4c8005a3da7d7487c9039c35dcbb1d17e65bd7 Reviewed-on: https://gerrit.libreoffice.org/68418 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/inc/conpoly.hxx1
-rw-r--r--sw/source/uibase/ribbar/conpoly.cxx7
2 files changed, 0 insertions, 8 deletions
diff --git a/sw/source/uibase/inc/conpoly.hxx b/sw/source/uibase/inc/conpoly.hxx
index f44ed07d5adc..d1fad7db3e94 100644
--- a/sw/source/uibase/inc/conpoly.hxx
+++ b/sw/source/uibase/inc/conpoly.hxx
@@ -28,7 +28,6 @@ public:
ConstPolygon(SwWrtShell* pSh, SwEditWin* pWin, SwView* pView);
// Mouse- & Key-Events
- virtual bool MouseMove(const MouseEvent& rMEvt) override;
virtual bool MouseButtonUp(const MouseEvent& rMEvt) override;
virtual void Activate(const sal_uInt16 nSlotId) override; // activate function
diff --git a/sw/source/uibase/ribbar/conpoly.cxx b/sw/source/uibase/ribbar/conpoly.cxx
index 247306be78b6..a7ee32b2249f 100644
--- a/sw/source/uibase/ribbar/conpoly.cxx
+++ b/sw/source/uibase/ribbar/conpoly.cxx
@@ -33,13 +33,6 @@ ConstPolygon::ConstPolygon(SwWrtShell* pWrtShell, SwEditWin* pEditWin, SwView* p
{
}
-bool ConstPolygon::MouseMove(const MouseEvent& rMEvt)
-{
- bool bReturn = SwDrawBase::MouseMove(rMEvt);
-
- return bReturn;
-}
-
bool ConstPolygon::MouseButtonUp(const MouseEvent& rMEvt)
{
bool bReturn = false;