summaryrefslogtreecommitdiffstats
path: root/src/sp-polygon.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-polygon.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-polygon.cpp')
-rw-r--r--src/sp-polygon.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/sp-polygon.cpp b/src/sp-polygon.cpp
index 302905a62..af71280d5 100644
--- a/src/sp-polygon.cpp
+++ b/src/sp-polygon.cpp
@@ -11,8 +11,6 @@
* Released under GNU GPL, read the file 'COPYING' for more information
*/
-#include "config.h"
-
#include "attributes.h"
#include "sp-polygon.h"
#include "display/curve.h"
@@ -25,16 +23,6 @@
#include "xml/repr.h"
#include "document.h"
-#include "sp-factory.h"
-
-namespace {
- SPObject* createPolygon() {
- return new SPPolygon();
- }
-
- bool polygonRegistered = SPFactory::instance().registerObject("svg:polygon", createPolygon);
-}
-
SPPolygon::SPPolygon() : SPShape() {
}