summaryrefslogtreecommitdiffstats
path: root/src/sp-offset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-offset.cpp')
-rw-r--r--src/sp-offset.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/sp-offset.cpp b/src/sp-offset.cpp
index c6a4b730d..15d3821c7 100644
--- a/src/sp-offset.cpp
+++ b/src/sp-offset.cpp
@@ -43,16 +43,6 @@
class SPDocument;
-#include "sp-factory.h"
-
-namespace {
- SPObject* createOffset() {
- return new SPOffset();
- }
-
- bool offsetRegistered = SPFactory::instance().registerObject("inkscape:offset", createOffset);
-}
-
#define noOFFSET_VERBOSE
/** \note
@@ -107,11 +97,6 @@ SPOffset::SPOffset() : SPShape() {
this->sourceRepr = NULL;
this->sourceObject = NULL;
- new (&this->_modified_connection) sigc::connection();
- new (&this->_delete_connection) sigc::connection();
- new (&this->_changed_connection) sigc::connection();
- new (&this->_transformed_connection) sigc::connection();
-
// set up the uri reference
this->sourceRef = new SPUseReference(this);
this->_changed_connection = this->sourceRef->changedSignal().connect(sigc::bind(sigc::ptr_fun(sp_offset_href_changed), this));