diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-08-13 19:06:18 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-08-13 19:06:18 +0000 |
| commit | 9c33efba40912d582a4844e4e82a72c13c8c4887 (patch) | |
| tree | 0375f8c5f56a9ce8d03bc483ab0c14d223d6f39e /src/live_effects/lpe-offset.cpp | |
| parent | return boost::optional for second and penultimate points of SPCurve (diff) | |
| download | inkscape-9c33efba40912d582a4844e4e82a72c13c8c4887.tar.gz inkscape-9c33efba40912d582a4844e4e82a72c13c8c4887.zip | |
make spcurve::first_point and last_point boost::optional
(bzr r6617)
Diffstat (limited to 'src/live_effects/lpe-offset.cpp')
| -rw-r--r-- | src/live_effects/lpe-offset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Geom::D2<Geom::SBasis> > &pwd2, |
