summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-12-30 18:05:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-01-01 10:51:12 +0100
commit0a99feb4539b8c64679778cd5f6c99f58fbaedd3 (patch)
treecc51127b8ea871a4f4ad9b8c59c5f1b15b59512a /sd
parentf3805d006356651eb2fbac188457d6f89813f8db (diff)
use SdrAngleItem for ID_VAL_ANGLE*
Change-Id: I093f7e0beba2fe7b90cb891fcdfc80f1f87c9197 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108521 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/fuconarc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fuconarc.cxx b/sd/source/ui/func/fuconarc.cxx
index 2d2fa73574b3..2671f4e2fa76 100644
--- a/sd/source/ui/func/fuconarc.cxx
+++ b/sd/source/ui/func/fuconarc.cxx
@@ -80,8 +80,8 @@ void FuConstructArc::DoExecute( SfxRequest& rReq )
const SfxUInt32Item* pCenterY = rReq.GetArg<SfxUInt32Item>(ID_VAL_CENTER_Y);
const SfxUInt32Item* pAxisX = rReq.GetArg<SfxUInt32Item>(ID_VAL_AXIS_X);
const SfxUInt32Item* pAxisY = rReq.GetArg<SfxUInt32Item>(ID_VAL_AXIS_Y);
- const SfxUInt32Item* pPhiStart = rReq.GetArg<SfxUInt32Item>(ID_VAL_ANGLESTART);
- const SfxUInt32Item* pPhiEnd = rReq.GetArg<SfxUInt32Item>(ID_VAL_ANGLEEND);
+ const SdrAngleItem* pPhiStart = rReq.GetArg<SdrAngleItem>(ID_VAL_ANGLESTART);
+ const SdrAngleItem* pPhiEnd = rReq.GetArg<SdrAngleItem>(ID_VAL_ANGLEEND);
::tools::Rectangle aNewRectangle (pCenterX->GetValue () - pAxisX->GetValue () / 2,
pCenterY->GetValue () - pAxisY->GetValue () / 2,