summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-01-24 15:25:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-01-25 09:55:37 +0100
commitf2935e5fb8fb8937f8a3ee9d9adf497b2b253a94 (patch)
tree0c8d50fec6eabaa8989a4b2fc10b8028dbadcb54
parent603f4ae4363d26c5e14534fe6b6c9328ba47b474 (diff)
ofz#5628 close props, del extra paras, commit redlines
Change-Id: Id019205b92b76d4514e3cf6091af7fbe6ddea47c Reviewed-on: https://gerrit.libreoffice.org/48517 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sw/source/filter/ww8/ww8par.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index a84241e6c2df..3195a498f74c 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -5302,6 +5302,8 @@ ErrCode SwWW8ImplReader::CoreLoad(WW8Glossary const *pGloss)
m_pTableStream = nullptr;
DeleteCtrlStack();
+ DeleteAnchorStack();
+ DeleteRefStacks();
m_pLastAnchorPos.reset();//ensure this is deleted before UpdatePageDescs
// remove extra paragraphs after attribute ctrl
// stacks etc. are destroyed, and before fields
@@ -5309,8 +5311,6 @@ ErrCode SwWW8ImplReader::CoreLoad(WW8Glossary const *pGloss)
m_aExtraneousParas.delete_all_from_doc();
m_xRedlineStack->closeall(*m_pPaM->GetPoint());
m_xRedlineStack.reset();
- DeleteAnchorStack();
- DeleteRefStacks();
// For i120928,achieve the graphics from the special bookmark with is for graphic bullet
{