diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-12-22 19:35:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-12-23 10:53:56 +0100 |
commit | 4501ea4283524fea6cd196456d21ab82bba44dd2 (patch) | |
tree | 6af8f851b8c0c50ee51a0e0dca80b65f6dab8b70 | |
parent | db278aca6da88d0e03e9a24331d13a640820473f (diff) |
use ScIndentItem instead of SfxBoolItem(SID_ATTR_ALIGN_INDENT)
Change-Id: I711ffb37cb4cd604d9f89c68387409ab83967a32
Reviewed-on: https://gerrit.libreoffice.org/85719
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-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 }); |