diff options
Diffstat (limited to 'svx/source/mnuctrls/SmartTagCtl.cxx')
-rw-r--r-- | svx/source/mnuctrls/SmartTagCtl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/mnuctrls/SmartTagCtl.cxx b/svx/source/mnuctrls/SmartTagCtl.cxx index 4dd8125ae9b7..0a47bf94046e 100644 --- a/svx/source/mnuctrls/SmartTagCtl.cxx +++ b/svx/source/mnuctrls/SmartTagCtl.cxx @@ -43,7 +43,7 @@ SvxSmartTagsControl::SvxSmartTagsControl ) : mpMenu ( new PopupMenu ), mrParent ( rMenu ), - mpSmartTagItem( 0 ) + mpSmartTagItem( nullptr ) { rMenu.SetPopupMenu( _nId, mpMenu ); } @@ -143,7 +143,7 @@ void SvxSmartTagsControl::StateChanged( sal_uInt16, SfxItemState eState, const S if ( SfxItemState::DEFAULT == eState ) { const SvxSmartTagItem* pSmartTagItem = dynamic_cast<const SvxSmartTagItem*>( pState ); - if ( 0 != pSmartTagItem ) + if ( nullptr != pSmartTagItem ) { delete mpSmartTagItem; mpSmartTagItem = new SvxSmartTagItem( *pSmartTagItem ); |