summaryrefslogtreecommitdiff
path: root/vcl/source/control/ctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/ctrl.cxx')
-rw-r--r--vcl/source/control/ctrl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx
index 16841ec1656f..e312c18bb402 100644
--- a/vcl/source/control/ctrl.cxx
+++ b/vcl/source/control/ctrl.cxx
@@ -280,7 +280,7 @@ OUString Control::GetDisplayText() const
// -----------------------------------------------------------------------
-long Control::Notify( NotifyEvent& rNEvt )
+bool Control::Notify( NotifyEvent& rNEvt )
{
if ( rNEvt.GetType() == EVENT_GETFOCUS )
{
@@ -290,7 +290,7 @@ long Control::Notify( NotifyEvent& rNEvt )
StateChanged( STATE_CHANGE_CONTROL_FOCUS );
if ( ImplCallEventListenersAndHandler( VCLEVENT_CONTROL_GETFOCUS, maGetFocusHdl, this ) )
// been destroyed within the handler
- return sal_True;
+ return true;
}
}
else
@@ -304,7 +304,7 @@ long Control::Notify( NotifyEvent& rNEvt )
StateChanged( STATE_CHANGE_CONTROL_FOCUS );
if ( ImplCallEventListenersAndHandler( VCLEVENT_CONTROL_LOSEFOCUS, maLoseFocusHdl, this ) )
// been destroyed within the handler
- return sal_True;
+ return true;
}
}
}