diff options
Diffstat (limited to 'src/live_effects/lpe-attach-path.cpp')
| -rw-r--r-- | src/live_effects/lpe-attach-path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-attach-path.cpp b/src/live_effects/lpe-attach-path.cpp index b3d5ed9b7..0cceb1cb7 100644 --- a/src/live_effects/lpe-attach-path.cpp +++ b/src/live_effects/lpe-attach-path.cpp @@ -62,9 +62,9 @@ void LPEAttachPath::resetDefaults(SPItem const * item) curve_end_previous_origin = end_path_curve_end.getOrigin(); } -void LPEAttachPath::doBeforeEffect(const SPLPEItem *lpeitem) +void LPEAttachPath::doBeforeEffect(SPLPEItem const *lpeitem) { - lpe_effect = lpeitem; + lpe_effect = const_cast<SPLPEItem*> (lpeitem); } void LPEAttachPath::doEffect (SPCurve * curve) |
