summaryrefslogtreecommitdiff
path: root/sw/source/uibase/cctrl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-20 13:11:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-21 06:16:29 +0000
commit1c4243332213ad72ed63476c99693758d8cbcc40 (patch)
tree17ec2704c16465cca81007f5e93e0d2592566191 /sw/source/uibase/cctrl
parent81bbede18f825bc5929d4d446144841ee782e679 (diff)
loplugin:expandablemethodds in sw(part4)
Change-Id: Ifedc5be99775d00f09e03261c6bb446135ac796a Reviewed-on: https://gerrit.libreoffice.org/30096 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/cctrl')
-rw-r--r--sw/source/uibase/cctrl/actctrl.cxx7
1 files changed, 1 insertions, 6 deletions
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 <vcl/builderfactory.hxx>
#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;
}