sc/source/ui/sidebar/AlignmentPropertyPanel.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 2c4f996869dfcde97b13063f283d6f3d3432714c Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Dec 22 17:36:33 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Dec 23 10:53:29 2019 +0100 use ScVerticalStackCell instead of SfxBoolItem(SID_ATTR_ALIGN_STACKED) Change-Id: I4571d8e399e38a91a029419f9c4b13c237af1c01 Reviewed-on: https://gerrit.libreoffice.org/85717 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx index a50c529cef9f..37b74344e27a 100644 --- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx +++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx @@ -187,7 +187,7 @@ IMPL_LINK_NOARG( AlignmentPropertyPanel, AngleModifiedHdl, Edit&, void ) IMPL_LINK_NOARG( AlignmentPropertyPanel, ClickStackHdl, Button*, void ) { bool bVertical = mpCBStacked->IsChecked(); - SfxBoolItem aStackItem( SID_ATTR_ALIGN_STACKED, bVertical ); + ScVerticalStackCell aStackItem(bVertical); GetBindings()->GetDispatcher()->ExecuteList( SID_ATTR_ALIGN_STACKED, SfxCallMode::RECORD, { &aStackItem }); } @@ -341,8 +341,8 @@ void AlignmentPropertyPanel::NotifyItemUpdate( if (eState >= SfxItemState::DEFAULT) { mpCBStacked->EnableTriState(false); - const SfxBoolItem* aStackItem = static_cast<const SfxBoolItem*>(pState); - mbMultiDisable = aStackItem->GetValue(); + const SfxBoolItem* pStackItem = static_cast<const ScVerticalStackCell*>(pState); + mbMultiDisable = pStackItem->GetValue(); mpCBStacked->Check(mbMultiDisable); mpTextOrientBox->Enable(!mbMultiDisable); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits