diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-10-12 14:58:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-10-12 18:21:29 +0200 |
commit | 738ef11520a9e0e2b7793dc7117d6540fd66db47 (patch) | |
tree | eda865049d43577fd0d20cd55248e98dc6c26c99 | |
parent | a975a5f80fcb6bfa5d656e5647485832bb41d49e (diff) |
ofz#39850 remove content anchored to para being removed
Change-Id: I15992b3d995b1c01827637ffb050b5db7213217d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123457
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/qa/core/data/html/pass/ofz39850-1.html | bin | 0 -> 27040 bytes | |||
-rw-r--r-- | sw/source/filter/html/htmlsect.cxx | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/core/data/html/pass/ofz39850-1.html b/sw/qa/core/data/html/pass/ofz39850-1.html Binary files differnew file mode 100644 index 000000000000..ebe25683cea4 --- /dev/null +++ b/sw/qa/core/data/html/pass/ofz39850-1.html diff --git a/sw/source/filter/html/htmlsect.cxx b/sw/source/filter/html/htmlsect.cxx index 82f02d613587..99600517a0d4 100644 --- a/sw/source/filter/html/htmlsect.cxx +++ b/sw/source/filter/html/htmlsect.cxx @@ -209,7 +209,7 @@ void SwHTMLParser::NewDivision( HtmlTokenId nToken ) if (!PendingObjectsInPaM(aDelPam)) { - ClearFootnotesMarksInRange(aDelPam.GetMark()->nNode, aDelPam.GetPoint()->nNode); + m_xDoc->getIDocumentContentOperations().DeleteRange(aDelPam); m_xDoc->getIDocumentContentOperations().DelFullPara(aDelPam); } |