From a70c7514a9dd5fc8d5eabe486141dfd259d2ed55 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 17 Jan 2013 20:00:40 +0100 Subject: more const happiness (and removal of duplicate code in sp-object.h) (bzr r12038) --- src/live_effects/effect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/live_effects/effect.cpp') diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 4d6fb0979..26095d84b 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -317,7 +317,7 @@ Effect::effectType() const { * Is performed a single time when the effect is freshly applied to a path */ void -Effect::doOnApply (SPLPEItem */*lpeitem*/) +Effect::doOnApply (SPLPEItem const*/*lpeitem*/) { } @@ -643,7 +643,7 @@ Effect::editNextParamOncanvas(SPItem * item, SPDesktop * desktop) * The nice thing about this is that this function can use knowledge of the original path and set things accordingly for example to the size or origin of the original path! */ void -Effect::resetDefaults(SPItem * /*item*/) +Effect::resetDefaults(SPItem const* /*item*/) { std::vector::iterator p; for (p = param_vector.begin(); p != param_vector.end(); ++p) { -- cgit v1.2.3