diff options
author | slideon <adamkasztenny@gmail.com> | 2016-03-27 16:18:03 -0400 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-03-31 20:42:05 +0000 |
commit | 75092faa821b236eaed27b7d0e6f1f1a28d1a2e2 (patch) | |
tree | e5c6c5dc09244727ceaed199a1a83af6c4f54242 /basegfx/source/polygon/b3dpolypolygontools.cxx | |
parent | 485c4f5ba17bdad12db19770ff708b84c938694a (diff) |
tdf#96505 Remove 0L occurences from avmedia and basegfx modules
No compiler warnings on my machine
Change-Id: Ibd303c64f04f6f52272ac19c3069da2f14cb4e9a
Reviewed-on: https://gerrit.libreoffice.org/23558
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'basegfx/source/polygon/b3dpolypolygontools.cxx')
-rw-r--r-- | basegfx/source/polygon/b3dpolypolygontools.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/basegfx/source/polygon/b3dpolypolygontools.cxx b/basegfx/source/polygon/b3dpolypolygontools.cxx index c04239a26883..bcb0ba5cc58d 100644 --- a/basegfx/source/polygon/b3dpolypolygontools.cxx +++ b/basegfx/source/polygon/b3dpolypolygontools.cxx @@ -43,7 +43,7 @@ namespace basegfx B3DRange aRetval; const sal_uInt32 nPolygonCount(rCandidate.count()); - for(sal_uInt32 a(0L); a < nPolygonCount; a++) + for(sal_uInt32 a(0); a < nPolygonCount; a++) { B3DPolygon aCandidate = rCandidate.getB3DPolygon(a); aRetval.expand(getRange(aCandidate)); @@ -261,7 +261,7 @@ namespace basegfx bool bVerToBottom(fTools::equal(fVerStop, -F_PI2)); // create horizontal rings - const sal_uInt32 nLoopVerInit(bVerFromTop ? 1L : 0L); + const sal_uInt32 nLoopVerInit(bVerFromTop ? 1L : 0); const sal_uInt32 nLoopVerLimit(bVerToBottom ? nVerSeg : nVerSeg + 1L); const sal_uInt32 nLoopHorLimit(bHorClosed ? nHorSeg : nHorSeg + 1L); @@ -270,7 +270,7 @@ namespace basegfx const double fVer(fVerStart + ((double)(a) * fVerDiffPerStep)); B3DPolygon aNew; - for(b = 0L; b < nLoopHorLimit; b++) + for(b = 0; b < nLoopHorLimit; b++) { const double fHor(fHorStart + ((double)(b) * fHorDiffPerStep)); aNew.append(getPointFromCartesian(fHor, fVer)); @@ -281,7 +281,7 @@ namespace basegfx } // create vertical half-rings - for(a = 0L; a < nLoopHorLimit; a++) + for(a = 0; a < nLoopHorLimit; a++) { const double fHor(fHorStart + ((double)(a) * fHorDiffPerStep)); B3DPolygon aNew; @@ -353,13 +353,13 @@ namespace basegfx nVerSeg = ::std::min(nMaxSegments, ::std::max(nMinSegments, nVerSeg)); // vertical loop - for(sal_uInt32 a(0L); a < nVerSeg; a++) + for(sal_uInt32 a(0); a < nVerSeg; a++) { const double fVer1(fVerStart + (((fVerStop - fVerStart) * a) / nVerSeg)); const double fVer2(fVerStart + (((fVerStop - fVerStart) * (a + 1)) / nVerSeg)); // horizontal loop - for(sal_uInt32 b(0L); b < nHorSeg; b++) + for(sal_uInt32 b(0); b < nHorSeg; b++) { const double fHor1(fHorStart + (((fHorStop - fHorStart) * b) / nHorSeg)); const double fHor2(fHorStart + (((fHorStop - fHorStart) * (b + 1)) / nHorSeg)); @@ -372,7 +372,7 @@ namespace basegfx if(bNormals) { - for(sal_uInt32 c(0L); c < aNew.count(); c++) + for(sal_uInt32 c(0); c < aNew.count(); c++) { aNew.setNormal(c, ::basegfx::B3DVector(aNew.getB3DPoint(c))); } @@ -411,7 +411,7 @@ namespace basegfx { B3DPolyPolygon aRetval; - for(sal_uInt32 a(0L); a < rCandidate.count(); a++) + for(sal_uInt32 a(0); a < rCandidate.count(); a++) { aRetval.append(applyDefaultNormalsSphere(rCandidate.getB3DPolygon(a), rCenter)); } @@ -423,7 +423,7 @@ namespace basegfx { B3DPolyPolygon aRetval; - for(sal_uInt32 a(0L); a < rCandidate.count(); a++) + for(sal_uInt32 a(0); a < rCandidate.count(); a++) { aRetval.append(invertNormals(rCandidate.getB3DPolygon(a))); } @@ -435,7 +435,7 @@ namespace basegfx { B3DPolyPolygon aRetval; - for(sal_uInt32 a(0L); a < rCandidate.count(); a++) + for(sal_uInt32 a(0); a < rCandidate.count(); a++) { aRetval.append(applyDefaultTextureCoordinatesParallel(rCandidate.getB3DPolygon(a), rRange, bChangeX, bChangeY)); } @@ -447,7 +447,7 @@ namespace basegfx { B3DPolyPolygon aRetval; - for(sal_uInt32 a(0L); a < rCandidate.count(); a++) + for(sal_uInt32 a(0); a < rCandidate.count(); a++) { aRetval.append(applyDefaultTextureCoordinatesSphere(rCandidate.getB3DPolygon(a), rCenter, bChangeX, bChangeY)); } |