summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/point.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-01-17 20:02:50 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-01-17 20:02:50 +0000
commitbf58d4cb9c86682d1416c64378d1cfc8a95554e8 (patch)
tree573e206bdd797d1ca26d62a55dbff3078b0fe292 /src/live_effects/parameter/point.cpp
parentmore const happiness (and removal of duplicate code in sp-object.h) (diff)
downloadinkscape-bf58d4cb9c86682d1416c64378d1cfc8a95554e8.tar.gz
inkscape-bf58d4cb9c86682d1416c64378d1cfc8a95554e8.zip
const ....
(bzr r12039)
Diffstat (limited to 'src/live_effects/parameter/point.cpp')
-rw-r--r--src/live_effects/parameter/point.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/parameter/point.cpp b/src/live_effects/parameter/point.cpp
index 2be87e048..53866f278 100644
--- a/src/live_effects/parameter/point.cpp
+++ b/src/live_effects/parameter/point.cpp
@@ -133,7 +133,7 @@ public:
virtual ~PointParamKnotHolderEntity() {}
virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state);
- virtual Geom::Point knot_get();
+ virtual Geom::Point knot_get() const;
virtual void knot_click(guint state);
private:
@@ -149,7 +149,7 @@ PointParamKnotHolderEntity::knot_set(Geom::Point const &p, Geom::Point const &/*
}
Geom::Point
-PointParamKnotHolderEntity::knot_get()
+PointParamKnotHolderEntity::knot_get() const
{
return *pparam;
}