summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-rw-r--r--svl/source/undo/undo.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index a84bbcfb5bb1..3e4d4dbaaac4 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -267,13 +267,13 @@ namespace svl { namespace undo { namespace impl
bool is() const
{
- return ( m_notificationMethod != NULL ) || ( m_altNotificationMethod != NULL );
+ return ( m_notificationMethod != 0 ) || ( m_altNotificationMethod != 0 );
}
void operator()( SfxUndoListener* i_listener ) const
{
OSL_PRECOND( is(), "NotifyUndoListener: this will crash!" );
- if ( m_altNotificationMethod != NULL )
+ if ( m_altNotificationMethod != 0 )
{
( i_listener->*m_altNotificationMethod )( m_sActionComment );
}