From 4351a73d40468e56d799f73983634701d613b210 Mon Sep 17 00:00:00 2001 From: cilix42 Date: Tue, 29 Jul 2008 14:50:28 +0000 Subject: [PATCH] Remove superfluous functions --- src/live_effects/parameter/point.cpp | 2 +- src/live_effects/parameter/point.h | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/live_effects/parameter/point.cpp b/src/live_effects/parameter/point.cpp index 7889bf164..eed16725d 100644 --- a/src/live_effects/parameter/point.cpp +++ b/src/live_effects/parameter/point.cpp @@ -189,7 +189,7 @@ PointParam::addKnotHolderEntities(KnotHolder *knotholder, SPDesktop *desktop, SP { PointParamKnotHolderEntity *e = new PointParamKnotHolderEntity(this); // TODO: can we ditch handleTip() etc. because we have access to handle_tip etc. itself??? - e->create(desktop, item, knotholder, handleTip(), knotShape(), knotMode(), knotColor()); + e->create(desktop, item, knotholder, handleTip(), knot_shape, knot_mode, knot_color); knotholder->add(e); } diff --git a/src/live_effects/parameter/point.h b/src/live_effects/parameter/point.h index 0334db7e0..bad138c9c 100644 --- a/src/live_effects/parameter/point.h +++ b/src/live_effects/parameter/point.h @@ -51,9 +51,6 @@ public: virtual void param_transform_multiply(Geom::Matrix const& /*postmul*/, bool /*set*/); void set_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mode, guint32 color); - SPKnotShapeType knotShape() { return knot_shape; } - SPKnotModeType knotMode() { return knot_mode; } - guint32 knotColor() { return knot_color; } virtual void addKnotHolderEntities(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item); -- 2.30.2