From 224b770fa77fe12ad5dc543ce020aca316b6558d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 16 Aug 2017 14:25:56 +0200 Subject: remove UL/L suffixes from shift-by-constant expressions Change-Id: Ia470f643e3eefeccc14183133603db260460bd53 Reviewed-on: https://gerrit.libreoffice.org/41212 Tested-by: Jenkins Reviewed-by: Noel Grandin --- drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx | 2 +- drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'drawinglayer/source') diff --git a/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx b/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx index 2230d456ca9a..e49153ccd1b2 100644 --- a/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx @@ -301,7 +301,7 @@ namespace drawinglayer basegfx::B2DLineJoin aLineJoin) { // nSegments is for whole circle, adapt to half circle - const sal_uInt32 nVerSeg(nSegments >> 1L); + const sal_uInt32 nVerSeg(nSegments >> 1); std::vector< BasePrimitive3D* > aResultVector; if(nVerSeg) diff --git a/drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx b/drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx index 1374778dc2ce..75b6127405f3 100644 --- a/drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx @@ -87,7 +87,7 @@ namespace drawinglayer // different from forced to sphere texture coordinates, // create a old version from it by rotating to old state before applying // the texture coordinates to emulate old behaviour - fRelativeAngle = F_2PI * ((double)((getHorizontalSegments() >> 1L) - 1L) / (double)getHorizontalSegments()); + fRelativeAngle = F_2PI * ((double)((getHorizontalSegments() >> 1) - 1L) / (double)getHorizontalSegments()); basegfx::B3DHomMatrix aRot; aRot.rotate(0.0, fRelativeAngle, 0.0); aFill.transform(aRot); -- cgit