summaryrefslogtreecommitdiff
path: root/svx/source/form/delayedevent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/delayedevent.cxx')
-rw-r--r--svx/source/form/delayedevent.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/delayedevent.cxx b/svx/source/form/delayedevent.cxx
index a61ba0beb1fb..57845711a496 100644
--- a/svx/source/form/delayedevent.cxx
+++ b/svx/source/form/delayedevent.cxx
@@ -25,7 +25,7 @@ namespace svxform
void DelayedEvent::Call()
{
CancelPendingCall();
- SAL_WARN_IF( m_nEventId != 0, "svx.form", "DelayedEvent::Call: CancelPendingCall did not work!" );
+ SAL_WARN_IF( m_nEventId != nullptr, "svx.form", "DelayedEvent::Call: CancelPendingCall did not work!" );
m_nEventId = Application::PostUserEvent( LINK( this, DelayedEvent, OnCall ) );
}
@@ -34,12 +34,12 @@ namespace svxform
{
if ( m_nEventId )
Application::RemoveUserEvent( m_nEventId );
- m_nEventId = 0;
+ m_nEventId = nullptr;
}
IMPL_LINK_TYPED( DelayedEvent, OnCall, void*, _pArg, void )
{
- m_nEventId = 0;
+ m_nEventId = nullptr;
m_aHandler.Call( _pArg );
}
}