[Libreoffice-commits] core.git: sw/source
Caolán McNamara
caolanm at redhat.com
Thu Jan 25 08:55:03 UTC 2018
sw/source/filter/ww8/ww8par.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3f4e239a7d6f822093769a394fd4ee50a7f79a0f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jan 24 11:27:52 2018 +0000
release lastanchorpos before closing redlines
Change-Id: I2fae6c2a6e44bdcd3c0d7f7a8cfa4a96973cc640
Reviewed-on: https://gerrit.libreoffice.org/48505
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 31a8b7cc9176..1bfacdd4f79b 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -5302,6 +5302,7 @@ ErrCode SwWW8ImplReader::CoreLoad(WW8Glossary const *pGloss)
m_pTableStream = nullptr;
DeleteCtrlStack();
+ m_pLastAnchorPos.reset();//ensure this is deleted before UpdatePageDescs
m_xRedlineStack->closeall(*m_pPaM->GetPoint());
m_xRedlineStack.reset();
DeleteAnchorStack();
@@ -5391,7 +5392,6 @@ ErrCode SwWW8ImplReader::CoreLoad(WW8Glossary const *pGloss)
mpCursor.reset();
m_pPaM = nullptr;
- m_pLastAnchorPos.reset();//ensure this is deleted before UpdatePageDescs
// remove extra paragraphs after attribute ctrl
// stacks etc. are destroyed, and before fields
More information about the Libreoffice-commits
mailing list