summaryrefslogtreecommitdiffstats
path: root/sw/source/filter/html/htmltab.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-08-15 10:44:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-15 16:54:05 +0200
commit077cbb5faecf75b333531afad04d2c9622a47c91 (patch)
tree3b558f9e5271f1f8d5d599aac898607c93a9ef64 /sw/source/filter/html/htmltab.cxx
parentResolves: tdf#149858 embedded starmath not using correct initial zoom (diff)
downloadcore-077cbb5faecf75b333531afad04d2c9622a47c91.tar.gz
core-077cbb5faecf75b333531afad04d2c9622a47c91.zip
pass SwNode and sal_Int32 to deleteMarks
instead of SwNodeIndex and SwContentIndex. Part of the process of hiding the implementation of SwPosition. Change-Id: I290fbc14d738d1bbf5d3f613eae6d114fc7cda17 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138271 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/html/htmltab.cxx')
-rw-r--r--sw/source/filter/html/htmltab.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx
index 5d8b4b5aea29..88b8c9e0663d 100644
--- a/sw/source/filter/html/htmltab.cxx
+++ b/sw/source/filter/html/htmltab.cxx
@@ -4913,7 +4913,7 @@ void SwHTMLParser::ClearFootnotesMarksInRange(const SwNodeIndex& rMkNdIdx, const
//ofz#9733 drop bookmarks in this range
IDocumentMarkAccess* const pMarkAccess = rDoc.getIDocumentMarkAccess();
- pMarkAccess->deleteMarks(rMkNdIdx, SwNodeIndex(rPtNdIdx, 1), nullptr, nullptr, nullptr);
+ pMarkAccess->deleteMarks(rMkNdIdx.GetNode(), SwNodeIndex(rPtNdIdx, 1).GetNode(), nullptr, std::nullopt, std::nullopt);
SwFrameFormats& rTable = *rDoc.GetSpzFrameFormats();
for ( auto i = rTable.size(); i; )