summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.h
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.h
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 'src/live_effects/effect.h')
-rw-r--r--src/live_effects/effect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h
index 8725129b5..5862a24ba 100644
--- a/src/live_effects/effect.h
+++ b/src/live_effects/effect.h
@@ -53,7 +53,7 @@ public:
EffectType effectType() const;
- virtual void doOnApply (SPLPEItem *lpeitem);
+ virtual void doOnApply (SPLPEItem const* lpeitem);
virtual void doBeforeEffect (SPLPEItem *lpeitem);
void writeParamsToSVG();
@@ -78,7 +78,7 @@ public:
/**
* Sets all parameters to their default values and writes them to SVG.
*/
- virtual void resetDefaults(SPItem * item);
+ virtual void resetDefaults(SPItem const* item);
/// /todo: is this method really necessary? it causes UI inconsistensies... (johan)
virtual void transform_multiply(Geom::Affine const& postmul, bool set);