summaryrefslogtreecommitdiffstats
path: root/src/sp-ellipse.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2015-04-26 09:44:42 +0000
committerMarc Jeanmougin <mc@M0nst3r.bouyguesbox.fr>2015-04-26 09:44:42 +0000
commit1c6d7546699e45643c2ab8e1d41d7b6f4fc52365 (patch)
treea56b6da9bb0f660d5986919ac8d75dc04113cd69 /src/sp-ellipse.cpp
parentmore cast cleanup (diff)
parentRename libgc/ => inkgc/ to reflect difference from Boehm GC (diff)
downloadinkscape-1c6d7546699e45643c2ab8e1d41d7b6f4fc52365.tar.gz
inkscape-1c6d7546699e45643c2ab8e1d41d7b6f4fc52365.zip
merge
(bzr r13922.1.12)
Diffstat (limited to 'src/sp-ellipse.cpp')
-rw-r--r--src/sp-ellipse.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/sp-ellipse.cpp b/src/sp-ellipse.cpp
index a74d4687d..885fedafa 100644
--- a/src/sp-ellipse.cpp
+++ b/src/sp-ellipse.cpp
@@ -34,35 +34,6 @@
#include "svg/path-string.h"
#include "xml/repr.h"
-#include "sp-factory.h"
-
-namespace {
-SPObject *create_ellipse()
-{
- SPGenericEllipse *ellipse = new SPGenericEllipse();
- ellipse->type = SP_GENERIC_ELLIPSE_ELLIPSE;
- return ellipse;
-}
-
-SPObject *create_circle()
-{
- SPGenericEllipse *circle = new SPGenericEllipse();
- circle->type = SP_GENERIC_ELLIPSE_CIRCLE;
- return circle;
-}
-
-SPObject *create_arc()
-{
- SPGenericEllipse *arc = new SPGenericEllipse();
- arc->type = SP_GENERIC_ELLIPSE_ARC;
- return arc;
-}
-
-bool ellipse_registered = SPFactory::instance().registerObject("svg:ellipse", create_ellipse);
-bool circle_registered = SPFactory::instance().registerObject("svg:circle", create_circle);
-bool arc_registered = SPFactory::instance().registerObject("arc", create_arc);
-}
-
#ifndef M_PI
#define M_PI 3.14159265358979323846