From a5d6e692d661f0bf7648e64e8fcb04588bb8f3ab Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Mon, 1 Apr 2013 00:07:00 +0200 Subject: Prepared exchange of casting macros. (bzr r11608.1.63) --- src/sp-text.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sp-text.cpp') 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; -- cgit v1.2.3