diff options
Diffstat (limited to 'src/sp-tspan.cpp')
| -rw-r--r-- | src/sp-tspan.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
