diff options
Diffstat (limited to 'drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx')
-rw-r--r-- | drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx b/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx index e49153ccd1b2..5551694e41db 100644 --- a/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/polygontubeprimitive3d.cxx @@ -44,7 +44,7 @@ namespace drawinglayer ::osl::Mutex m_aMutex; public: TubeBuffer() - : m_nLineTubeSegments(0L) + : m_nLineTubeSegments(0) { } @@ -316,7 +316,7 @@ namespace drawinglayer // create half-sphere const basegfx::B3DPolyPolygon aSphere(basegfx::tools::createUnitSphereFillPolyPolygon(nHorSeg, nVerSeg, true, F_PI2, -F_PI2, 0.0, fAngle)); - for(sal_uInt32 a(0L); a < aSphere.count(); a++) + for(sal_uInt32 a(0); a < aSphere.count(); a++) { const basegfx::B3DPolygon aPartPolygon(aSphere.getB3DPolygon(a)); const basegfx::B3DPolyPolygon aPartPolyPolygon(aPartPolygon); @@ -360,7 +360,7 @@ namespace drawinglayer aNewPolygon.setClosed(true); aMiterPolygon.setClosed(true); - for(sal_uInt32 a(0L); a < nVerSeg; a++) + for(sal_uInt32 a(0); a < nVerSeg; a++) { const bool bFirst(0L == a); const bool bLast(a + 1L == nVerSeg); @@ -459,7 +459,7 @@ namespace drawinglayer } // set normals - for(sal_uInt32 b(0L); b < aNewPolygon.count(); b++) + for(sal_uInt32 b(0); b < aNewPolygon.count(); b++) { aNewPolygon.setNormal(b, basegfx::B3DVector(aNewPolygon.getB3DPoint(b))); } @@ -475,7 +475,7 @@ namespace drawinglayer if(bMiter && aMiterPolygon.count()) { // set normals - for(sal_uInt32 c(0L); c < aMiterPolygon.count(); c++) + for(sal_uInt32 c(0); c < aMiterPolygon.count(); c++) { aMiterPolygon.setNormal(c, basegfx::B3DVector(aMiterPolygon.getB3DPoint(c))); } |