diff options
Diffstat (limited to 'src/sp-text.cpp')
| -rw-r--r-- | src/sp-text.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp index 6d9cd105d..f35b9bb3b 100644 --- a/src/sp-text.cpp +++ b/src/sp-text.cpp @@ -58,6 +58,16 @@ #include "text-editing.h" #include "unit-constants.h" +#include "sp-factory.h" + +namespace { + SPObject* createText() { + return new SPText(); + } + + bool textRegistered = SPFactory::instance().registerObject("svg:text", createText); +} + /*##################################################### # SPTEXT #####################################################*/ |
