sw/source/filter/ww8/ww8par.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 3f4e239a7d6f822093769a394fd4ee50a7f79a0f Author: Caolán McNamara <caol...@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 <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits