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.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sp-offset.cpp b/src/sp-offset.cpp
index 3a8bf5a10..5a9b3933c 100644
--- a/src/sp-offset.cpp
+++ b/src/sp-offset.cpp
@@ -43,6 +43,16 @@
class SPDocument;
+#include "sp-factory.h"
+
+namespace {
+ SPObject* createOffset() {
+ return new SPOffset();
+ }
+
+ bool offsetRegistered = SPFactory::instance().registerObject("inkscape:offset", createOffset);
+}
+
#define noOFFSET_VERBOSE
/** \note