diff options
Diffstat (limited to 'sw/source/ui/cctrl/actctrl.cxx')
-rw-r--r-- | sw/source/ui/cctrl/actctrl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/cctrl/actctrl.cxx b/sw/source/ui/cctrl/actctrl.cxx index ff5beb57b6b9..b67303e345c1 100644 --- a/sw/source/ui/cctrl/actctrl.cxx +++ b/sw/source/ui/cctrl/actctrl.cxx @@ -28,9 +28,9 @@ void NumEditAction::Action() } -long NumEditAction::Notify( NotifyEvent& rNEvt ) +bool NumEditAction::Notify( NotifyEvent& rNEvt ) { - long nHandled = 0; + long nHandled = false; if ( rNEvt.GetType() == EVENT_KEYINPUT ) { @@ -41,7 +41,7 @@ long NumEditAction::Notify( NotifyEvent& rNEvt ) !nModifier) { Action(); - nHandled = 1; + nHandled = true; } } |