diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-22 10:01:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-27 08:22:09 +0200 |
commit | 862dc17e437f0972223e18555110dc875d2ffa44 (patch) | |
tree | 3b8e33815f337b262b7a42e01af64acae4912b0e /sd | |
parent | 50af4bf5c67eaac39d02cfe20584906eec058235 (diff) |
loplugin:expressionalwayszero improvements
Change-Id: I00bdbc58d2295a0be30b47c85eae6b9abfec17b2
Reviewed-on: https://gerrit.libreoffice.org/51868
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fucon3d.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/func/fucon3d.cxx b/sd/source/ui/func/fucon3d.cxx index aec8839e18c6..5fe097765688 100644 --- a/sd/source/ui/func/fucon3d.cxx +++ b/sd/source/ui/func/fucon3d.cxx @@ -134,7 +134,7 @@ E3dCompoundObject* FuConstruct3dObject::ImpCreateBasic3DShape() aXPoly.Insert(0, Point (500*5, 1250*5), PolyFlags::Normal); aXPoly.Insert(0, Point (250*5, 1250*5), PolyFlags::Normal); aXPoly.Insert(0, Point (50*5, 1250*5), PolyFlags::Normal); - aXPoly.Insert(0, Point (0*5, 1250*5), PolyFlags::Normal); + aXPoly.Insert(0, Point (0, 1250*5), PolyFlags::Normal); ::basegfx::B2DPolygon aB2DPolygon(aXPoly.getB2DPolygon()); if(aB2DPolygon.areControlPointsUsed()) @@ -175,7 +175,7 @@ E3dCompoundObject* FuConstruct3dObject::ImpCreateBasic3DShape() aInnerPoly.append(::basegfx::B2DPoint(200*5, -1000*5)); aInnerPoly.append(::basegfx::B2DPoint(100*5, -1000*5)); aInnerPoly.append(::basegfx::B2DPoint(50*5, -1000*5)); - aInnerPoly.append(::basegfx::B2DPoint(0*5, -1000*5)); + aInnerPoly.append(::basegfx::B2DPoint(0, -1000*5)); aInnerPoly.setClosed(true); p3DObj = new E3dLatheObj(mpView->Get3DDefaultAttributes(), ::basegfx::B2DPolyPolygon(aInnerPoly)); @@ -199,7 +199,7 @@ E3dCompoundObject* FuConstruct3dObject::ImpCreateBasic3DShape() aInnerPoly.append(::basegfx::B2DPoint(200*5, 1000*5)); aInnerPoly.append(::basegfx::B2DPoint(100*5, 1000*5)); aInnerPoly.append(::basegfx::B2DPoint(50*5, 1000*5)); - aInnerPoly.append(::basegfx::B2DPoint(0*5, 1000*5)); + aInnerPoly.append(::basegfx::B2DPoint(0, 1000*5)); aInnerPoly.setClosed(true); p3DObj = new E3dLatheObj(mpView->Get3DDefaultAttributes(), ::basegfx::B2DPolyPolygon(aInnerPoly)); |