Kaydet (Commit) 5a212337 authored tarafından Caolán McNamara's avatar Caolán McNamara

avoid crash on document ending before contained table ends

Change-Id: I003b7e00673cd5a4b4f0ed5218e2d30cfef04ffb
üst 98fba3ab
......@@ -5350,6 +5350,8 @@ sal_uLong SwWW8ImplReader::CoreLoad(WW8Glossary *pGloss, const SwPosition &rPos)
UpdatePageDescs(rDoc, nPageDescOffset);
SAL_WARN_IF(mpTableEndPaM, "sw.ww8", "document ended without table ending");
mpTableEndPaM.reset(); //ensure this is deleted before pPaM
delete pPaM, pPaM = 0;
return nErrRet;
}
......
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