summaryrefslogtreecommitdiffstats
path: root/src/sp-glyph-kerning.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-glyph-kerning.cpp')
-rw-r--r--src/sp-glyph-kerning.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp-glyph-kerning.cpp b/src/sp-glyph-kerning.cpp
index bdec3d089..c7dd90933 100644
--- a/src/sp-glyph-kerning.cpp
+++ b/src/sp-glyph-kerning.cpp
@@ -91,6 +91,7 @@ CGlyphKerning::~CGlyphKerning() {
static void sp_glyph_kerning_init(SPGlyphKerning *glyph)
{
glyph->cglyphkerning = new CGlyphKerning(glyph);
+ glyph->typeHierarchy.insert(typeid(SPGlyphKerning));
delete glyph->cobject;
glyph->cobject = glyph->cglyphkerning;