Code

Remove superfluous functions
authorcilix42 <cilix42@users.sourceforge.net>
Tue, 29 Jul 2008 14:50:28 +0000 (14:50 +0000)
committercilix42 <cilix42@users.sourceforge.net>
Tue, 29 Jul 2008 14:50:28 +0000 (14:50 +0000)
src/live_effects/parameter/point.cpp
src/live_effects/parameter/point.h

index 7889bf1642e60ac3b7f7b5ed6644e14a786094db..eed16725d96bffa3a667aaf36117b3b1e8eb1421 100644 (file)
@@ -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);
 
 }
index 0334db7e0f3baac5b25f1838e36a4c2403278872..bad138c9c9889520d8bb246e4ed1b635ff05b553 100644 (file)
@@ -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);