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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx
index cd1c7df39cd5..5039c2b83e15 100644
--- a/vcl/source/control/ctrl.cxx
+++ b/vcl/source/control/ctrl.cxx
@@ -371,11 +371,11 @@ sal_Bool Control::ImplCallEventListenersAndHandler( sal_uLong nEvent, const Lin
ImplAddDel( &aCheckDelete );
ImplCallEventListeners( nEvent );
- if ( !aCheckDelete.IsDelete() )
+ if ( !aCheckDelete.IsDead() )
{
rHandler.Call( pCaller );
- if ( !aCheckDelete.IsDelete() )
+ if ( !aCheckDelete.IsDead() )
{
ImplRemoveDel( &aCheckDelete );
return sal_False;