From 8988dd2782f290d9b2e88290ce07384839560027 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Cenoz Date: Wed, 13 Feb 2013 01:00:39 +0100 Subject: Removed unused function (bzr r11950.2.2) --- src/live_effects/lpe-bspline.cpp | 8 +------- src/live_effects/lpe-bspline.h | 2 -- src/pen-context.cpp | 9 --------- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/src/live_effects/lpe-bspline.cpp b/src/live_effects/lpe-bspline.cpp index a1f51de0b..b8e6094f6 100644 --- a/src/live_effects/lpe-bspline.cpp +++ b/src/live_effects/lpe-bspline.cpp @@ -29,13 +29,7 @@ LPEBSpline::LPEBSpline(LivePathEffectObject *lpeobject) : LPEBSpline::~LPEBSpline() { } -//Crea una nueva curva reseteando la original -SPCurve * -LPEBSpline::reverse_then_reset(SPCurve * orig){ - SPCurve *ret = orig->create_reverse(); - orig->reset(); - return ret; -} + void LPEBSpline::doEffect(SPCurve * curve) diff --git a/src/live_effects/lpe-bspline.h b/src/live_effects/lpe-bspline.h index 23ac495df..bb826eee8 100644 --- a/src/live_effects/lpe-bspline.h +++ b/src/live_effects/lpe-bspline.h @@ -20,8 +20,6 @@ public: virtual LPEPathFlashType pathFlashType() { return SUPPRESS_FLASH; } - virtual SPCurve *reverse_then_reset(SPCurve * orig); - virtual void doEffect(SPCurve * curve); private: diff --git a/src/pen-context.cpp b/src/pen-context.cpp index 3055f8504..9056003e0 100644 --- a/src/pen-context.cpp +++ b/src/pen-context.cpp @@ -1472,15 +1472,6 @@ static void spdc_pen_set_angle_distance_status_message(SPPenContext *const pc, G } -//BSpline Set Functions -//Creates a new curve resetting the original -static SPCurve * reverse_then_reset(SPCurve *orig) -{ - SPCurve *ret = orig->create_reverse(); - orig->reset(); - return ret; -} - //Esta función cambia los colores rojo,verde y azul haciendolos transparentes o no en función de si se usa spiro static void spiro_color(SPPenContext *const pc) { -- cgit v1.2.3