sw/source/filter/html/htmlsect.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 7b9228660f9d7c99caccc17f8cc4dd0e9b5048e2 Author: Caolán McNamara <caol...@redhat.com> Date: Wed Feb 7 10:52:41 2018 +0000 ofz#6064 clear footnotes from tobe-deleted paragraph Change-Id: I33f75adab35d43a4bbf51e33a0abcb5daeca93a3 Reviewed-on: https://gerrit.libreoffice.org/49344 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/html/htmlsect.cxx b/sw/source/filter/html/htmlsect.cxx index 1f838edd054c..818f90652f36 100644 --- a/sw/source/filter/html/htmlsect.cxx +++ b/sw/source/filter/html/htmlsect.cxx @@ -199,7 +199,10 @@ void SwHTMLParser::NewDivision( HtmlTokenId nToken ) aDelPam.GetPoint()->nNode = pStNd->EndOfSectionIndex() - 1; if (!PendingObjectsInPaM(aDelPam)) + { + ClearFootnotesInRange(aDelPam.GetMark()->nNode, aDelPam.GetPoint()->nNode); m_xDoc->getIDocumentContentOperations().DelFullPara(aDelPam); + } // update page style for( size_t i=0; i < m_xDoc->GetPageDescCnt(); i++ ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits