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-tspan.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sp-tspan.cpp') diff --git a/src/sp-tspan.cpp b/src/sp-tspan.cpp index fcbda7123..853966e46 100644 --- a/src/sp-tspan.cpp +++ b/src/sp-tspan.cpp @@ -65,6 +65,7 @@ static void sp_tspan_init(SPTSpan *tspan) { tspan->ctspan = new CTSpan(tspan); + tspan->typeHierarchy.insert(typeid(SPTSpan)); delete tspan->citem; tspan->citem = tspan->ctspan; @@ -267,6 +268,7 @@ static void sp_textpath_init(SPTextPath *textpath) { textpath->ctextpath = new CTextPath(textpath); + textpath->typeHierarchy.insert(typeid(SPTextPath)); delete textpath->citem; textpath->citem = textpath->ctextpath; -- cgit v1.2.3