Kaydet (Commit) 3f4e239a authored tarafından Caolán McNamara's avatar Caolán McNamara

release lastanchorpos before closing redlines

Change-Id: I2fae6c2a6e44bdcd3c0d7f7a8cfa4a96973cc640
Reviewed-on: https://gerrit.libreoffice.org/48505Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst fd5c9c7b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment