summaryrefslogtreecommitdiff
path: root/basegfx/source/curve
diff options
context:
space:
mode:
authorslideon <adamkasztenny@gmail.com>2016-03-27 16:18:03 -0400
committerMichael Stahl <mstahl@redhat.com>2016-03-31 20:42:05 +0000
commit75092faa821b236eaed27b7d0e6f1f1a28d1a2e2 (patch)
treee5c6c5dc09244727ceaed199a1a83af6c4f54242 /basegfx/source/curve
parent485c4f5ba17bdad12db19770ff708b84c938694a (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/curve')
-rw-r--r--basegfx/source/curve/b2dcubicbezier.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/curve/b2dcubicbezier.cxx b/basegfx/source/curve/b2dcubicbezier.cxx
index 612922a99fa6..ffa5a6ec8ea8 100644
--- a/basegfx/source/curve/b2dcubicbezier.cxx
+++ b/basegfx/source/curve/b2dcubicbezier.cxx
@@ -678,10 +678,10 @@ namespace basegfx
// now look for the closest point
const sal_uInt32 nPointCount(aInitialPolygon.count());
- B2DVector aVector(rTestPoint - aInitialPolygon.getB2DPoint(0L));
+ B2DVector aVector(rTestPoint - aInitialPolygon.getB2DPoint(0));
double fQuadDist(aVector.getX() * aVector.getX() + aVector.getY() * aVector.getY());
double fNewQuadDist;
- sal_uInt32 nSmallestIndex(0L);
+ sal_uInt32 nSmallestIndex(0);
for(sal_uInt32 a(1L); a < nPointCount; a++)
{