summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/eraser-tool.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2015-02-25 01:04:28 +0000
committerLiam P. White <inkscapebrony@gmail.com>2015-02-25 01:04:28 +0000
commit73f83ba325e7d28693363d8d6e6b9482e4e12081 (patch)
treecead8f00e537e51838d8469fc52b4ba8d04805f8 /src/ui/tools/eraser-tool.cpp
parentcreate SPObject factory (diff)
downloadinkscape-73f83ba325e7d28693363d8d6e6b9482e4e12081.tar.gz
inkscape-73f83ba325e7d28693363d8d6e6b9482e4e12081.zip
Strip ToolFactory
(bzr r13939.1.2)
Diffstat (limited to 'src/ui/tools/eraser-tool.cpp')
-rw-r--r--src/ui/tools/eraser-tool.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ui/tools/eraser-tool.cpp b/src/ui/tools/eraser-tool.cpp
index 1b4dcfe25..af0cbcb78 100644
--- a/src/ui/tools/eraser-tool.cpp
+++ b/src/ui/tools/eraser-tool.cpp
@@ -84,20 +84,10 @@ using Inkscape::DocumentUndo;
#define DRAG_DEFAULT 1.0
#define DRAG_MAX 1.0
-#include "ui/tool-factory.h"
-
namespace Inkscape {
namespace UI {
namespace Tools {
-namespace {
- ToolBase* createEraserContext() {
- return new EraserTool();
- }
-
- bool eraserContextRegistered = ToolFactory::instance().registerObject("/tools/eraser", createEraserContext);
-}
-
const std::string& EraserTool::getPrefsPath() {
return EraserTool::prefsPath;
}