summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuconarc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuconarc.cxx')
-rw-r--r--sd/source/ui/func/fuconarc.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/func/fuconarc.cxx b/sd/source/ui/func/fuconarc.cxx
index 2671f4e2fa76..1ced022927ac 100644
--- a/sd/source/ui/func/fuconarc.cxx
+++ b/sd/source/ui/func/fuconarc.cxx
@@ -94,8 +94,8 @@ void FuConstructArc::DoExecute( SfxRequest& rReq )
mpView->getSdrModelFromSdrView(),
ToSdrCircKind(mpView->GetCurrentObjIdentifier()),
aNewRectangle,
- static_cast<::tools::Long>(pPhiStart->GetValue () * 10.0),
- static_cast<::tools::Long>(pPhiEnd->GetValue () * 10.0));
+ pPhiStart->GetValue(),
+ pPhiEnd->GetValue());
SdrPageView *pPV = mpView->GetSdrPageView();
mpView->InsertObjectAtView(pNewCircle, *pPV, SdrInsertFlags::SETDEFLAYER);
@@ -226,8 +226,8 @@ SdrObjectUniquePtr FuConstructArc::CreateDefaultObject(const sal_uInt16 nID, con
pObj->SetLogicRect(aRect);
SfxItemSet aAttr(mpDoc->GetPool());
- aAttr.Put(makeSdrCircStartAngleItem(9000));
- aAttr.Put(makeSdrCircEndAngleItem(0));
+ aAttr.Put(makeSdrCircStartAngleItem(9000_deg100));
+ aAttr.Put(makeSdrCircEndAngleItem(0_deg100));
if(SID_DRAW_PIE_NOFILL == nID ||
SID_DRAW_CIRCLEPIE_NOFILL == nID ||