summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/originalpath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/parameter/originalpath.cpp')
-rw-r--r--src/live_effects/parameter/originalpath.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/live_effects/parameter/originalpath.cpp b/src/live_effects/parameter/originalpath.cpp
index 018e1e69e..5ad5546da 100644
--- a/src/live_effects/parameter/originalpath.cpp
+++ b/src/live_effects/parameter/originalpath.cpp
@@ -90,7 +90,7 @@ OriginalPathParam::param_newWidget()
void
OriginalPathParam::linked_modified_callback(SPObject *linked_obj, guint /*flags*/)
{
- SPCurve *curve = NULL;
+ SPCurve *curve = nullptr;
if (SP_IS_SHAPE(linked_obj)) {
if (_from_original_d) {
curve = SP_SHAPE(linked_obj)->getCurveForEdit();
@@ -102,7 +102,7 @@ OriginalPathParam::linked_modified_callback(SPObject *linked_obj, guint /*flags*
curve = SP_TEXT(linked_obj)->getNormalizedBpath();
}
- if (curve == NULL) {
+ if (curve == nullptr) {
// curve invalid, set empty pathvector
_pathvector = Geom::PathVector();
} else {
@@ -128,7 +128,7 @@ OriginalPathParam::on_select_original_button_click()
{
SPDesktop *desktop = SP_ACTIVE_DESKTOP;
SPItem *original = ref.getObject();
- if (desktop == NULL || original == NULL) {
+ if (desktop == nullptr || original == nullptr) {
return;
}
Inkscape::Selection *selection = desktop->getSelection();