summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-fill-between-many.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-fill-between-many.cpp')
-rw-r--r--src/live_effects/lpe-fill-between-many.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-fill-between-many.cpp b/src/live_effects/lpe-fill-between-many.cpp
index 9715d7ff8..389ddf007 100644
--- a/src/live_effects/lpe-fill-between-many.cpp
+++ b/src/live_effects/lpe-fill-between-many.cpp
@@ -79,7 +79,7 @@ void LPEFillBetweenMany::doOnApply (SPLPEItem const* lpeitem)
lpe_repr->setAttribute("applied", "true");
lpe_repr->setAttribute("method", "partial");
lpe_repr->setAttribute("allow_transforms", "false");
- document->getDefs()->getRepr()->addChild(lpe_repr, NULL); // adds to <defs> and assigns the 'id' attribute
+ document->getDefs()->getRepr()->addChild(lpe_repr, nullptr); // adds to <defs> and assigns the 'id' attribute
}
std::string lpe_id_href = std::string("#") + lpe_repr->attribute("id");
Inkscape::GC::release(lpe_repr);
@@ -149,7 +149,7 @@ void LPEFillBetweenMany::doEffect (SPCurve * curve)
}
if(!allow_transforms) {
- SP_ITEM(sp_lpe_item)->setAttribute("transform", NULL);
+ SP_ITEM(sp_lpe_item)->setAttribute("transform", nullptr);
}
if (!res_pathv.empty() && close) {