Commit 7368bbbe authored by Boudewijn Rempt's avatar Boudewijn Rempt

RDF: Initialize variable

Fixes a crash on Windows when enabling autoupdating the rdf docker when
there's no rdf in the document.
parent f091252f
......@@ -980,7 +980,7 @@ QString KoDocumentRdf::findXmlId(KoTextEditor *handler) const
= KoTextDocument(handler->document()).inlineTextObjectManager();
Q_ASSERT(inlineObjectManager);
KoTextInlineRdf *inlineRdf;
KoTextInlineRdf *inlineRdf = 0;
// find the bookmark-start or text:meta inline objects
const QTextDocument *document = handler->document();
......
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