summaryrefslogtreecommitdiffstats
path: root/src/sp-object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-object.cpp')
-rw-r--r--src/sp-object.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp-object.cpp b/src/sp-object.cpp
index 3b09d80e8..776b020d2 100644
--- a/src/sp-object.cpp
+++ b/src/sp-object.cpp
@@ -131,6 +131,7 @@ SPObject::SPObject()
// polygon, text, tspan, tref, textPath, altGlyph, glyphRef, marker, linearGradient, radialGradient,
// stop, pattern, clipPath, mask, filter, feImage, a, font, glyph, missing-glyph, foreignObject
this->style = sp_style_new_from_object(this);
+ this->context_style = NULL;
}
SPObject::~SPObject() {