Kaydet (Commit) 9b76295d authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#12660 remove flys before removing trailing paras

Change-Id: I6c706e5a2066b4fcd4546a22de0aa6327515a0a8
Reviewed-on: https://gerrit.libreoffice.org/66877
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst c7e064e8
This diff was suppressed by a .gitattributes entry.
...@@ -5317,13 +5317,14 @@ ErrCode SwWW8ImplReader::CoreLoad(WW8Glossary const *pGloss) ...@@ -5317,13 +5317,14 @@ ErrCode SwWW8ImplReader::CoreLoad(WW8Glossary const *pGloss)
DeleteAnchorStack(); DeleteAnchorStack();
DeleteRefStacks(); DeleteRefStacks();
m_pLastAnchorPos.reset();//ensure this is deleted before UpdatePageDescs m_pLastAnchorPos.reset();//ensure this is deleted before UpdatePageDescs
// ofz#10994 remove any trailing fly paras before processing redlines
m_xWFlyPara.reset();
// ofz#12660 remove any trailing fly paras before deleting extra paras
m_xSFlyPara.reset();
// remove extra paragraphs after attribute ctrl // remove extra paragraphs after attribute ctrl
// stacks etc. are destroyed, and before fields // stacks etc. are destroyed, and before fields
// are updated // are updated
m_aExtraneousParas.delete_all_from_doc(); m_aExtraneousParas.delete_all_from_doc();
// ofz#10994 remove any trailing fly paras before processing redlines
m_xWFlyPara.reset();
m_xSFlyPara.reset();
m_xRedlineStack->closeall(*m_pPaM->GetPoint()); m_xRedlineStack->closeall(*m_pPaM->GetPoint());
while (!m_aFrameRedlines.empty()) while (!m_aFrameRedlines.empty())
m_aFrameRedlines.pop(); m_aFrameRedlines.pop();
......
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