diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-16 14:25:56 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2017-12-05 08:17:49 -0500 |
commit | 67ea91dbfd98598017d88c66a455de58f45cb074 (patch) | |
tree | 7f1d081c07ff60548af685aa2abf413bb86be86e /drawinglayer | |
parent | move the exception handling (diff) | |
download | core-67ea91dbfd98598017d88c66a455de58f45cb074.tar.gz core-67ea91dbfd98598017d88c66a455de58f45cb074.zip |
remove UL/L suffixes from shift-by-constant expressions
Change-Id: Ia470f643e3eefeccc14183133603db260460bd53
Reviewed-on: https://gerrit.libreoffice.org/41212
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 224b770fa77fe12ad5dc543ce020aca316b6558d)
(cherry picked from commit 58c171983d4f828d36bf1f6d8fb8329e69424c7e)
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx | 2 | ||||
-rw-r--r-- | drawinglayer/source/primitive3d/sdrsphereprimitive3d.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx b/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx index e17f7c03309d..c580ffdfd73a 100644 --- a/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx @@ -302,7 +302,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 6cb80766a359..42080eed51ca 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); |