diff options
-rw-r--r-- | sc/source/ui/sidebar/AlignmentPropertyPanel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx index ae004db4c8b6..e54e8bc1b16b 100644 --- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx +++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx @@ -195,7 +195,7 @@ IMPL_LINK_NOARG(AlignmentPropertyPanel, MFLeftIndentMdyHdl, Edit&, void) { mpCBXWrapText->EnableTriState(false); sal_uInt16 nVal = static_cast<sal_uInt16>(mpMFLeftIndent->GetValue()); - SfxUInt16Item aItem( SID_ATTR_ALIGN_INDENT, static_cast<sal_uInt16>(CalcToUnit( nVal, MapUnit::MapTwip )) ); + ScIndentItem aItem(static_cast<sal_uInt16>(CalcToUnit(nVal, MapUnit::MapTwip))); GetBindings()->GetDispatcher()->ExecuteList(SID_ATTR_ALIGN_INDENT, SfxCallMode::RECORD, { &aItem }); |