summaryrefslogtreecommitdiffstats
path: root/src/sp-style-elem.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-03-31 22:07:00 +0000
committerMarkus Engel <markus.engel@tum.de>2013-03-31 22:07:00 +0000
commita5d6e692d661f0bf7648e64e8fcb04588bb8f3ab (patch)
treec2da53e170ecb9317e4fdf2e8ab3e884008eccaa /src/sp-style-elem.cpp
parentAdded TypeInfo class. (diff)
downloadinkscape-a5d6e692d661f0bf7648e64e8fcb04588bb8f3ab.tar.gz
inkscape-a5d6e692d661f0bf7648e64e8fcb04588bb8f3ab.zip
Prepared exchange of casting macros.
(bzr r11608.1.63)
Diffstat (limited to 'src/sp-style-elem.cpp')
-rw-r--r--src/sp-style-elem.cpp1
1 files changed, 1 insertions, 0 deletions
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;