[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Thu Aug 21 05:07:33 PDT 2014
sw/source/filter/ww8/ww8par.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 5a2123376dc010ca4e3f0a19d7dbbfaeb25ea963
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Aug 21 12:59:50 2014 +0100
avoid crash on document ending before contained table ends
Change-Id: I003b7e00673cd5a4b4f0ed5218e2d30cfef04ffb
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 0029154..c065d8f 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -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;
}
More information about the Libreoffice-commits
mailing list