diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2015-02-25 01:04:28 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2015-02-25 01:04:28 +0000 |
| commit | 73f83ba325e7d28693363d8d6e6b9482e4e12081 (patch) | |
| tree | cead8f00e537e51838d8469fc52b4ba8d04805f8 /src/ui/tools/pen-tool.cpp | |
| parent | create SPObject factory (diff) | |
| download | inkscape-73f83ba325e7d28693363d8d6e6b9482e4e12081.tar.gz inkscape-73f83ba325e7d28693363d8d6e6b9482e4e12081.zip | |
Strip ToolFactory
(bzr r13939.1.2)
Diffstat (limited to 'src/ui/tools/pen-tool.cpp')
| -rw-r--r-- | src/ui/tools/pen-tool.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ui/tools/pen-tool.cpp b/src/ui/tools/pen-tool.cpp index 5174775c9..d28b7c27a 100644 --- a/src/ui/tools/pen-tool.cpp +++ b/src/ui/tools/pen-tool.cpp @@ -73,8 +73,6 @@ #include "live_effects/lpe-bspline.h" #include <2geom/nearest-point.h> -#include "ui/tool-factory.h" - #include "live_effects/effect.h" @@ -88,13 +86,6 @@ static Geom::Point pen_drag_origin_w(0, 0); static bool pen_within_tolerance = false; static int pen_last_paraxial_dir = 0; // last used direction in horizontal/vertical mode; 0 = horizontal, 1 = vertical const double handleCubicGap = 0.01; -namespace { - ToolBase* createPenContext() { - return new PenTool(); - } - - bool penContextRegistered = ToolFactory::instance().registerObject("/tools/freehand/pen", createPenContext); -} const std::string& PenTool::getPrefsPath() { return PenTool::prefsPath; |
