sw/source/filter/ww8/ww8par.cxx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit e9566f27c8b8bab822888c285abec06b58432358
Author: Caolán McNamara <caol...@redhat.com>
Date:   Tue Oct 28 15:24:23 2014 +0000

    fix a big pile of the crash tester .doc import failures
    
    wrt the blasted SwIndexReg dtor assert
    
    Change-Id: I4b3eeab76d5d76f7b769b458baeadbc0a9bd4238

diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index fcba4e0..2ab0967 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -5404,11 +5404,13 @@ sal_uLong SwWW8ImplReader::CoreLoad(WW8Glossary 
*pGloss, const SwPosition &rPos)
     if (mbNewDoc)
       rDoc.getIDocumentRedlineAccess().SetRedlineMode((RedlineMode_t)( eMode 
));
 
-    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;
+    lastAnchorPos.reset();  //ensure this is deleted before UpdatePageDescs
+
+    UpdatePageDescs(rDoc, nPageDescOffset);
+
     return nErrRet;
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to