summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-28 15:24:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-10-28 15:25:48 +0000
commite9566f27c8b8bab822888c285abec06b58432358 (patch)
treef4a6a974b0e81adb3cf70f3fc155342222dceed9 /sw/source/filter/ww8/ww8par.cxx
parent9b01059f6e2143c5b5b481f3d321309648fc7dd4 (diff)
fix a big pile of the crash tester .doc import failures
wrt the blasted SwIndexReg dtor assert Change-Id: I4b3eeab76d5d76f7b769b458baeadbc0a9bd4238
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index fcba4e0f4092..2ab09672aeb7 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;
}