summaryrefslogtreecommitdiff
path: root/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/sidebar/WrapPropertyPanel.cxx')
-rw-r--r--sw/source/uibase/sidebar/WrapPropertyPanel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/sidebar/WrapPropertyPanel.cxx b/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
index 17ec875d563b..1da44b0b0143 100644
--- a/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
+++ b/sw/source/uibase/sidebar/WrapPropertyPanel.cxx
@@ -300,7 +300,7 @@ void WrapPropertyPanel::NotifyItemUpdate(
(void)bIsEnabled;
if ( eState == SfxItemState::DEFAULT &&
- pState->ISA(SfxBoolItem) )
+ dynamic_cast< const SfxBoolItem *>( pState ) != nullptr )
{
//Set Radio Button enable
mpRBNoWrap->Enable();