Kaydet (Commit) 8daf6707 authored tarafından Michael Stahl's avatar Michael Stahl

xmloff: fix crash in ~XMLParaContext on fdo72541-1.fodt

Change-Id: I3310699020bfea085eb62c50a7d5de25af51c1b1
üst e7fac51c
......@@ -449,6 +449,10 @@ SvXMLImport::~SvXMLImport() throw ()
{
if (mxEventListener.is() && mxModel.is())
mxModel->removeEventListener(mxEventListener);
// clear context stacks first in case of parse error because the context
// class dtors are full of application logic
while (!maFastContexts.empty()) { maFastContexts.pop(); }
while (!maContexts.empty()) { maContexts.pop(); }
}
namespace
......
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