From 7d0556417f74f08de207b515537fbd268256f817 Mon Sep 17 00:00:00 2001 From: Marc Jeanmougin Date: Fri, 21 Sep 2018 14:38:51 +0200 Subject: minor correction to MR --- src/object/sp-lpe-item.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/object') diff --git a/src/object/sp-lpe-item.cpp b/src/object/sp-lpe-item.cpp index 819bc7a58..6e98d9209 100755 --- a/src/object/sp-lpe-item.cpp +++ b/src/object/sp-lpe-item.cpp @@ -946,8 +946,7 @@ SPLPEItem::applyToClipPathOrMask(SPItem *clip_mask, SPItem* to, Inkscape::LivePa if (sp_version_inside_range(root->version.inkscape, 0, 1, 0, 92)) { shape->setAttribute("inkscape:original-d", nullptr); } else { - SPCurve * c = nullptr; - c = shape->getCurve(); + SPCurve * c = shape->getCurve(); if (c) { bool success = false; try { -- cgit v1.2.3