From a17cde058213f962b8de880de6f5b1e4f2061b37 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 10 Nov 2015 10:10:29 +0100 Subject: loplugin:nullptr (automatic rewrite) Change-Id: Ib64fc63905cf44a0d32393d52ee587d0aa2d9dfa --- basegfx/source/curve/b2dcubicbezier.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'basegfx/source/curve') diff --git a/basegfx/source/curve/b2dcubicbezier.cxx b/basegfx/source/curve/b2dcubicbezier.cxx index ee87cbe7256b..852114546021 100644 --- a/basegfx/source/curve/b2dcubicbezier.cxx +++ b/basegfx/source/curve/b2dcubicbezier.cxx @@ -613,7 +613,7 @@ namespace basegfx { // t is in ]0.0 .. 1.0[. Split and extract B2DCubicBezier aRight; - split(t, 0, &aRight); + split(t, nullptr, &aRight); return aRight.getControlPointA() - aRight.getStartPoint(); } @@ -871,7 +871,7 @@ namespace basegfx if(!bEndIsOne) { - aRetval.split(fEnd, &aRetval, 0); + aRetval.split(fEnd, &aRetval, nullptr); if(!bStartIsZero) { @@ -881,7 +881,7 @@ namespace basegfx if(!bStartIsZero) { - aRetval.split(fStart, 0, &aRetval); + aRetval.split(fStart, nullptr, &aRetval); } } else -- cgit v1.2.3