sw/source/filter/ww8/ww8par.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit da1b74b4d8707948740d37059b1ea49b6cff9364 Author: Caolán McNamara <caol...@redhat.com> Date: Thu Aug 21 12:59:50 2014 +0100 avoid crash on document ending before contained table ends Change-Id: I003b7e00673cd5a4b4f0ed5218e2d30cfef04ffb (cherry picked from commit 5a2123376dc010ca4e3f0a19d7dbbfaeb25ea963) Reviewed-on: https://gerrit.libreoffice.org/11057 Reviewed-by: David Tardon <dtar...@redhat.com> Tested-by: David Tardon <dtar...@redhat.com> diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 21ba56d..b07a5d0 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -5323,6 +5323,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; }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits