diff options
Diffstat (limited to 'src/sp-string.cpp')
| -rw-r--r-- | src/sp-string.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sp-string.cpp b/src/sp-string.cpp index 332ccaf31..29679b93a 100644 --- a/src/sp-string.cpp +++ b/src/sp-string.cpp @@ -32,6 +32,15 @@ #include "sp-string.h" #include "xml/repr.h" +#include "sp-factory.h" + +namespace { + SPObject* createString() { + return new SPString(); + } + + bool stringRegistered = SPFactory::instance().registerObject("string", createString); +} /*##################################################### # SPSTRING |
