diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-12-30 13:18:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-01-01 08:57:07 +0100 |
commit | 9980eb71513d4c16ffaceace1a754a387c209d27 (patch) | |
tree | 1c14e97c496869ff74ad5cd3dc92f2875492449b /cui | |
parent | 6b57cfb71a9546c32c03848751181b2db4f47176 (diff) |
use SdrAngleItem for SID_ATTR_TRANSFORM_SHEAR
Change-Id: I418614978e41ef965c8651ee5d97c658e5315227
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108518
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/transfrm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx index 8845af0d27cd..142bd46e4d9b 100644 --- a/cui/source/tabpages/transfrm.cxx +++ b/cui/source/tabpages/transfrm.cxx @@ -461,7 +461,7 @@ bool SvxSlantTabPage::FillItemSet(SfxItemSet* rAttrs) if (m_xMtrAngle->get_value_changed_from_saved()) { sal_Int32 nValue = static_cast<sal_Int32>(m_xMtrAngle->get_value(FieldUnit::NONE)); - rAttrs->Put( SfxInt32Item( SID_ATTR_TRANSFORM_SHEAR, nValue ) ); + rAttrs->Put( SdrAngleItem( SID_ATTR_TRANSFORM_SHEAR, nValue ) ); bModified = true; } @@ -606,7 +606,7 @@ void SvxSlantTabPage::Reset(const SfxItemSet* rAttrs) if( pItem ) { - m_xMtrAngle->set_value(static_cast<const SfxInt32Item*>(pItem)->GetValue(), FieldUnit::NONE); + m_xMtrAngle->set_value(static_cast<const SdrAngleItem*>(pItem)->GetValue(), FieldUnit::NONE); } else { |