diff options
Diffstat (limited to 'svx/source/mnuctrls/SmartTagCtl.cxx')
-rw-r--r-- | svx/source/mnuctrls/SmartTagCtl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/mnuctrls/SmartTagCtl.cxx b/svx/source/mnuctrls/SmartTagCtl.cxx index 3dbfc6dce242..4dd8125ae9b7 100644 --- a/svx/source/mnuctrls/SmartTagCtl.cxx +++ b/svx/source/mnuctrls/SmartTagCtl.cxx @@ -142,7 +142,7 @@ void SvxSmartTagsControl::StateChanged( sal_uInt16, SfxItemState eState, const S if ( SfxItemState::DEFAULT == eState ) { - const SvxSmartTagItem* pSmartTagItem = PTR_CAST( SvxSmartTagItem, pState ); + const SvxSmartTagItem* pSmartTagItem = dynamic_cast<const SvxSmartTagItem*>( pState ); if ( 0 != pSmartTagItem ) { delete mpSmartTagItem; |