From 9c33efba40912d582a4844e4e82a72c13c8c4887 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 13 Aug 2008 19:06:18 +0000 Subject: make spcurve::first_point and last_point boost::optional (bzr r6617) --- src/live_effects/lpe-offset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/live_effects/lpe-offset.cpp') diff --git a/src/live_effects/lpe-offset.cpp b/src/live_effects/lpe-offset.cpp index 027eda23f..9ee53267c 100644 --- a/src/live_effects/lpe-offset.cpp +++ b/src/live_effects/lpe-offset.cpp @@ -41,7 +41,7 @@ LPEOffset::~LPEOffset() void LPEOffset::doOnApply(SPLPEItem *lpeitem) { - offset_pt.param_set_and_write_new_value(SP_SHAPE(lpeitem)->curve->first_point()); + offset_pt.param_set_and_write_new_value(*(SP_SHAPE(lpeitem)->curve->first_point())); } static void append_half_circle(Geom::Piecewise > &pwd2, -- cgit v1.2.3