summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-01-17 19:00:40 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-01-17 19:00:40 +0000
commita70c7514a9dd5fc8d5eabe486141dfd259d2ed55 (patch)
tree6fcee678cf4dcc66d999134d7d14282279924bd9 /src/live_effects/effect.cpp
parentconst methods (diff)
downloadinkscape-a70c7514a9dd5fc8d5eabe486141dfd259d2ed55.tar.gz
inkscape-a70c7514a9dd5fc8d5eabe486141dfd259d2ed55.zip
more const happiness (and removal of duplicate code in sp-object.h)
(bzr r12038)
Diffstat (limited to '')
-rw-r--r--src/live_effects/effect.cpp4
1 files changed, 2 insertions, 2 deletions
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<Inkscape::LivePathEffect::Parameter *>::iterator p;
for (p = param_vector.begin(); p != param_vector.end(); ++p) {