From 50fcbbef80d397e283fec3b2fff36815b49a1213 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Thu, 19 Feb 2009 22:37:11 +0000 Subject: Remove superfluous FreehandShape LPE (bzr r7330) --- src/live_effects/effect.cpp | 4 ---- src/live_effects/lpe-patternalongpath.cpp | 4 ---- src/live_effects/lpe-patternalongpath.h | 6 ------ 3 files changed, 14 deletions(-) (limited to 'src/live_effects') diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index e4a5b9b43..9a1c33eeb 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -112,7 +112,6 @@ const Util::EnumData LPETypeData[] = { {PATTERN_ALONG_PATH, N_("Pattern Along Path"), "skeletal"}, // for historic reasons, this effect is called skeletal(strokes) in Inkscape:SVG {CURVE_STITCH, N_("Stitch Sub-Paths"), "curvestitching"}, /* 0.47 */ - {FREEHAND_SHAPE, N_("Freehand Shape"), "freehand_shape"}, // this is actually a special type of PatternAlongPath, used to paste shapes in pen/pencil tool {KNOT, N_("Knot"), "knot"}, {CONSTRUCT_GRID, N_("Construct grid"), "construct_grid"}, {SPIRO, N_("Spiro spline"), "spiro"}, @@ -140,9 +139,6 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) case PATTERN_ALONG_PATH: neweffect = static_cast ( new LPEPatternAlongPath(lpeobj) ); break; - case FREEHAND_SHAPE: - neweffect = static_cast ( new LPEFreehandShape(lpeobj) ); - break; case BEND_PATH: neweffect = static_cast ( new LPEBendPath(lpeobj) ); break; diff --git a/src/live_effects/lpe-patternalongpath.cpp b/src/live_effects/lpe-patternalongpath.cpp index 52bc42cb0..6ba680c15 100644 --- a/src/live_effects/lpe-patternalongpath.cpp +++ b/src/live_effects/lpe-patternalongpath.cpp @@ -214,10 +214,6 @@ LPEPatternAlongPath::doEffect_pwd2 (Geom::Piecewise > con } } -LPEFreehandShape::LPEFreehandShape(LivePathEffectObject *lpeobject) : LPEPatternAlongPath(lpeobject) -{ -} - } // namespace LivePathEffect } /* namespace Inkscape */ diff --git a/src/live_effects/lpe-patternalongpath.h b/src/live_effects/lpe-patternalongpath.h index f35f7a5cb..ea89097b3 100644 --- a/src/live_effects/lpe-patternalongpath.h +++ b/src/live_effects/lpe-patternalongpath.h @@ -50,12 +50,6 @@ private: LPEPatternAlongPath& operator=(const LPEPatternAlongPath&); }; -class LPEFreehandShape : public LPEPatternAlongPath { -public: - LPEFreehandShape(LivePathEffectObject *lpeobject); - virtual ~LPEFreehandShape() {} -}; - }; //namespace LivePathEffect }; //namespace Inkscape -- cgit v1.2.3