diff options
Diffstat (limited to 'basegfx/source/curve/b2dcubicbezier.cxx')
-rw-r--r-- | basegfx/source/curve/b2dcubicbezier.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 |