summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-copy_rotate.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/lpe-copy_rotate.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 'src/live_effects/lpe-copy_rotate.cpp')
-rw-r--r--src/live_effects/lpe-copy_rotate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/lpe-copy_rotate.cpp b/src/live_effects/lpe-copy_rotate.cpp
index 9ac553ed5..f946f0568 100644
--- a/src/live_effects/lpe-copy_rotate.cpp
+++ b/src/live_effects/lpe-copy_rotate.cpp
@@ -73,9 +73,9 @@ LPECopyRotate::~LPECopyRotate()
}
void
-LPECopyRotate::doOnApply(SPLPEItem *lpeitem)
+LPECopyRotate::doOnApply(SPLPEItem const* lpeitem)
{
- SPCurve *curve = SP_SHAPE(lpeitem)->_curve;
+ SPCurve const *curve = SP_SHAPE(lpeitem)->_curve;
A = *(curve->first_point());
B = *(curve->last_point());