diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2013-10-04 20:24:32 +0000 |
|---|---|---|
| committer | Johan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl> | 2013-10-04 20:24:32 +0000 |
| commit | eedaac6439c0c4edb489643335fcfc003607bf08 (patch) | |
| tree | b4e7fd9d1051af877ef1f0c821fe4951b2fce554 /src/live_effects | |
| parent | Do not allow NULL _spcurve to be set in PathManipulator. (diff) | |
| download | inkscape-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.h | 1 |
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 |
