diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-02-13 00:00:39 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-02-13 00:00:39 +0000 |
| commit | 8988dd2782f290d9b2e88290ce07384839560027 (patch) | |
| tree | 0acbe7bc4cafb5fbd4ace983ad91901ec40b8c26 /src | |
| parent | Update from trunk (diff) | |
| download | inkscape-8988dd2782f290d9b2e88290ce07384839560027.tar.gz inkscape-8988dd2782f290d9b2e88290ce07384839560027.zip | |
Removed unused function
(bzr r11950.2.2)
Diffstat (limited to 'src')
| -rw-r--r-- | src/live_effects/lpe-bspline.cpp | 8 | ||||
| -rw-r--r-- | src/live_effects/lpe-bspline.h | 2 | ||||
| -rw-r--r-- | src/pen-context.cpp | 9 |
3 files changed, 1 insertions, 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) { |
