summaryrefslogtreecommitdiffstats
path: root/src/sp-text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-text.cpp')
-rw-r--r--src/sp-text.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp
index 45f159b9d..8db9b5be3 100644
--- a/src/sp-text.cpp
+++ b/src/sp-text.cpp
@@ -79,6 +79,7 @@ static void
sp_text_init (SPText *text)
{
text->ctext = new CText(text);
+ text->typeHierarchy.insert(typeid(SPText));
delete text->citem;
text->citem = text->ctext;