From: cilix42 Date: Tue, 29 Jul 2008 14:50:28 +0000 (+0000) Subject: Remove superfluous functions X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4351a73d40468e56d799f73983634701d613b210;p=inkscape.git Remove superfluous functions --- 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);