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/measure-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/measure-tool.cpp')
| -rw-r--r-- | src/ui/tools/measure-tool.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ui/tools/measure-tool.cpp b/src/ui/tools/measure-tool.cpp index b7e54b9c8..0875c29e0 100644 --- a/src/ui/tools/measure-tool.cpp +++ b/src/ui/tools/measure-tool.cpp @@ -49,22 +49,12 @@ using Inkscape::ControlManager; using Inkscape::CTLINE_SECONDARY; using Inkscape::Util::unit_table; -#include "ui/tool-factory.h" - namespace Inkscape { namespace UI { namespace Tools { std::vector<Inkscape::Display::TemporaryItem*> measure_tmp_items; -namespace { - ToolBase* createMeasureContext() { - return new MeasureTool(); - } - - bool measureContextRegistered = ToolFactory::instance().registerObject("/tools/measure", createMeasureContext); -} - const std::string& MeasureTool::getPrefsPath() { return MeasureTool::prefsPath; } |
