summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-knot.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/live_effects/lpe-knot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-knot.cpp b/src/live_effects/lpe-knot.cpp
index 9decdea9b..58dc4bd75 100644
--- a/src/live_effects/lpe-knot.cpp
+++ b/src/live_effects/lpe-knot.cpp
@@ -509,7 +509,7 @@ void collectPathsAndWidths (SPLPEItem const *lpeitem, std::vector<Geom::Path> &p
else if (SP_IS_SHAPE(lpeitem)) {
SPCurve * c = NULL;
if (SP_IS_PATH(lpeitem)) {
- c = sp_path_get_curve_for_edit(SP_PATH(lpeitem));
+ c = SP_PATH(lpeitem)->get_curve_for_edit();
} else {
c = SP_SHAPE(lpeitem)->getCurve();
}