avoid crash on document ending before contained table ends
Change-Id: I003b7e00673cd5a4b4f0ed5218e2d30cfef04ffb
This commit is contained in:
parent
98fba3ab36
commit
5a2123376d
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue