[Libreoffice-commits] core.git: sw/source

Caolán McNamara caolanm at redhat.com
Thu Jan 25 08:56:00 UTC 2018


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

New commits:
commit f2935e5fb8fb8937f8a3ee9d9adf497b2b253a94
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jan 24 15:25:24 2018 +0000

    ofz#5628 close props, del extra paras, commit redlines
    
    Change-Id: Id019205b92b76d4514e3cf6091af7fbe6ddea47c
    Reviewed-on: https://gerrit.libreoffice.org/48517
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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
     {


More information about the Libreoffice-commits mailing list