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-style-elem.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sp-style-elem.cpp') diff --git a/src/sp-style-elem.cpp b/src/sp-style-elem.cpp index 65beaba07..5fc7f6377 100644 --- a/src/sp-style-elem.cpp +++ b/src/sp-style-elem.cpp @@ -25,6 +25,7 @@ static void sp_style_elem_init(SPStyleElem *style_elem) { style_elem->cstyleelem = new CStyleElem(style_elem); + style_elem->typeHierarchy.insert(typeid(SPStyleElem)); delete style_elem->cobject; style_elem->cobject = style_elem->cstyleelem; -- cgit v1.2.3