From 1c4243332213ad72ed63476c99693758d8cbcc40 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 20 Oct 2016 13:11:46 +0200 Subject: loplugin:expandablemethodds in sw(part4) Change-Id: Ifedc5be99775d00f09e03261c6bb446135ac796a Reviewed-on: https://gerrit.libreoffice.org/30096 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/cctrl/actctrl.cxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sw/source/uibase/cctrl') diff --git a/sw/source/uibase/cctrl/actctrl.cxx b/sw/source/uibase/cctrl/actctrl.cxx index 8a2a501b5855..95b97d6b186f 100644 --- a/sw/source/uibase/cctrl/actctrl.cxx +++ b/sw/source/uibase/cctrl/actctrl.cxx @@ -21,11 +21,6 @@ #include #include "actctrl.hxx" -void NumEditAction::Action() -{ - aActionLink.Call( *this ); -} - bool NumEditAction::Notify( NotifyEvent& rNEvt ) { bool bHandled = false; @@ -38,7 +33,7 @@ bool NumEditAction::Notify( NotifyEvent& rNEvt ) if( aKeyCode.GetCode() == KEY_RETURN && !nModifier) { - Action(); + aActionLink.Call( *this ); bHandled = true; } -- cgit