summaryrefslogtreecommitdiff
path: root/basegfx/source/curve
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:10:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:16 +0100
commita17cde058213f962b8de880de6f5b1e4f2061b37 (patch)
tree1dadb981b6581df51ba383dd49f54a736b9dc091 /basegfx/source/curve
parentc2ff1b9622a1c67612719c87af593b59b9534119 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ib64fc63905cf44a0d32393d52ee587d0aa2d9dfa
Diffstat (limited to 'basegfx/source/curve')
-rw-r--r--basegfx/source/curve/b2dcubicbezier.cxx6
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