diff options
Diffstat (limited to 'sc/source/ui/sidebar/AlignmentPropertyPanel.cxx')
-rw-r--r-- | sc/source/ui/sidebar/AlignmentPropertyPanel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx index 98069a6a7080..da854a62ac10 100644 --- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx +++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx @@ -270,7 +270,7 @@ void AlignmentPropertyPanel::NotifyItemUpdate( if(eState >= SfxItemState::DEFAULT && pState && dynamic_cast<const SvxHorJustifyItem*>( pState) != nullptr ) { const SvxHorJustifyItem* pItem = static_cast<const SvxHorJustifyItem*>(pState); - meHorAlignState = (SvxCellHorJustify)pItem->GetValue(); + meHorAlignState = pItem->GetValue(); } if( meHorAlignState == SvxCellHorJustify::Repeat ) @@ -359,7 +359,7 @@ void AlignmentPropertyPanel::NotifyItemUpdate( if( eState >= SfxItemState::DEFAULT) { const SvxRotateModeItem* pItem = static_cast<const SvxRotateModeItem*>(pState); - SvxRotateMode eMode = (SvxRotateMode)pItem->GetValue(); + SvxRotateMode eMode = pItem->GetValue(); if(eMode == SVX_ROTATE_MODE_BOTTOM) { mpRefEdgeBottom->SetState(true); |