summaryrefslogtreecommitdiffstats
path: root/src/sp-clippath.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2015-02-25 00:22:08 +0000
committerLiam P. White <inkscapebrony@gmail.com>2015-02-25 00:22:08 +0000
commitdf7828a7a8ba0b7e6c2dd892ca5f0a62ef718bf0 (patch)
tree8e03cc5b9c89749e73a1281ee997da90b40694fc /src/sp-clippath.cpp
parentTranslations. Hungarian translation update. (diff)
downloadinkscape-df7828a7a8ba0b7e6c2dd892ca5f0a62ef718bf0.tar.gz
inkscape-df7828a7a8ba0b7e6c2dd892ca5f0a62ef718bf0.zip
create SPObject factory
(bzr r13939.1.1)
Diffstat (limited to 'src/sp-clippath.cpp')
-rw-r--r--src/sp-clippath.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/sp-clippath.cpp b/src/sp-clippath.cpp
index 5065f25c3..3c6167438 100644
--- a/src/sp-clippath.cpp
+++ b/src/sp-clippath.cpp
@@ -40,16 +40,6 @@ struct SPClipPathView {
static SPClipPathView* sp_clippath_view_new_prepend(SPClipPathView *list, unsigned int key, Inkscape::DrawingItem *arenaitem);
static SPClipPathView* sp_clippath_view_list_remove(SPClipPathView *list, SPClipPathView *view);
-#include "sp-factory.h"
-
-namespace {
- SPObject* createClipPath() {
- return new SPClipPath();
- }
-
- bool clipPathRegistered = SPFactory::instance().registerObject("svg:clipPath", createClipPath);
-}
-
SPClipPath::SPClipPath() : SPObjectGroup() {
this->clipPathUnits_set = FALSE;
this->clipPathUnits = SP_CONTENT_UNITS_USERSPACEONUSE;