summaryrefslogtreecommitdiffstats
path: root/src/live_effects
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-10-04 20:24:32 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-10-04 20:24:32 +0000
commiteedaac6439c0c4edb489643335fcfc003607bf08 (patch)
treeb4e7fd9d1051af877ef1f0c821fe4951b2fce554 /src/live_effects
parentDo not allow NULL _spcurve to be set in PathManipulator. (diff)
downloadinkscape-eedaac6439c0c4edb489643335fcfc003607bf08.tar.gz
inkscape-eedaac6439c0c4edb489643335fcfc003607bf08.zip
LPE: add some const correctness, remove unused function, and fix potential crash bug
(bzr r12656)
Diffstat (limited to 'src/live_effects')
-rw-r--r--src/live_effects/lpeobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/live_effects/lpeobject.h b/src/live_effects/lpeobject.h
index 534a12897..9700024fe 100644
--- a/src/live_effects/lpeobject.h
+++ b/src/live_effects/lpeobject.h
@@ -39,6 +39,7 @@ public:
/* Note that the returned pointer can be NULL in a valid LivePathEffectObject contained in a valid list of lpeobjects in an lpeitem!
* So one should always check whether the returned value is NULL or not */
Inkscape::LivePathEffect::Effect * get_lpe() { return lpe; };
+ Inkscape::LivePathEffect::Effect const * get_lpe() const { return lpe; };
Inkscape::LivePathEffect::Effect *lpe; // this can be NULL in a valid LivePathEffectObject