Commit 09f7be5d authored by Boudewijn Rempt's avatar Boudewijn Rempt

Dereference after null check

CID:248859
parent 01c47b75
......@@ -412,7 +412,7 @@ bool KoSvgTextChunkShape::saveHtml(HtmlSavingContext &context)
}
// XXX: Save the style?
} else if (parent->isRootTextNode()) {
} else if (parent && parent->isRootTextNode()) {
context.shapeWriter().startElement("p", false);
} else {
context.shapeWriter().startElement("span", false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment