diff options
Diffstat (limited to 'svx/source/stbctrls/selctrl.cxx')
-rw-r--r-- | svx/source/stbctrls/selctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/stbctrls/selctrl.cxx b/svx/source/stbctrls/selctrl.cxx index 878153efae97..14715a27451c 100644 --- a/svx/source/stbctrls/selctrl.cxx +++ b/svx/source/stbctrls/selctrl.cxx @@ -96,7 +96,7 @@ void SvxSelectionModeControl::StateChanged( sal_uInt16, SfxItemState eState, if ( SfxItemState::DEFAULT == eState ) { DBG_ASSERT( pState->ISA( SfxUInt16Item ), "invalid item type" ); - SfxUInt16Item* pItem = (SfxUInt16Item*)pState; + const SfxUInt16Item* pItem = static_cast<const SfxUInt16Item*>(pState); mnState = pItem->GetValue(); SelectionTypePopup aPop( mnState ); |