diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-01-03 15:05:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-01-03 17:17:42 +0100 |
commit | 2eee8df0e89b7b2a156769c2ebdd562bf4d21f62 (patch) | |
tree | d19f0929ccd193a3eb000d6102a6e5579241b461 /sd/source/ui/func | |
parent | 0cb58b2a605529cf59c0e445fc86dca4c92816e7 (diff) |
Degree10->Degree100 in XPolygon
Since some of the call sites are passing in Degree100,
let us preserve that accuracy.
Change-Id: Idfc9c6dfcbc9e164085aacd0c775eac929f33d4c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108631
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/func')
-rw-r--r-- | sd/source/ui/func/fucon3d.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/fucon3d.cxx b/sd/source/ui/func/fucon3d.cxx index 119ca5779716..32ec30b8fc48 100644 --- a/sd/source/ui/func/fucon3d.cxx +++ b/sd/source/ui/func/fucon3d.cxx @@ -107,7 +107,7 @@ E3dCompoundObject* FuConstruct3dObject::ImpCreateBasic3DShape() case SID_3D_SHELL: { - XPolygon aXPoly(Point (0, 1250), 2500, 2500, 0_deg10, 900_deg10, false); + XPolygon aXPoly(Point (0, 1250), 2500, 2500, 0_deg100, 9000_deg100, false); aXPoly.Scale(5.0, 5.0); ::basegfx::B2DPolygon aB2DPolygon(aXPoly.getB2DPolygon()); @@ -128,7 +128,7 @@ E3dCompoundObject* FuConstruct3dObject::ImpCreateBasic3DShape() case SID_3D_HALF_SPHERE: { - XPolygon aXPoly(Point (0, 1250), 2500, 2500, 0_deg10, 900_deg10, false); + XPolygon aXPoly(Point (0, 1250), 2500, 2500, 0_deg100, 9000_deg100, false); aXPoly.Scale(5.0, 5.0); aXPoly.Insert(0, Point (2400*5, 1250*5), PolyFlags::Normal); |