summaryrefslogtreecommitdiffstats
path: root/sw/inc/IDocumentMarkAccess.hxx
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/inc/IDocumentMarkAccess.hxx
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/inc/IDocumentMarkAccess.hxx')
-rw-r--r--sw/inc/IDocumentMarkAccess.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/IDocumentMarkAccess.hxx b/sw/inc/IDocumentMarkAccess.hxx
index 0790a27ef1ea..98037c7917e3 100644
--- a/sw/inc/IDocumentMarkAccess.hxx
+++ b/sw/inc/IDocumentMarkAccess.hxx
@@ -225,11 +225,11 @@ class IDocumentMarkAccess
*/
virtual void deleteMarks(
- const SwNodeIndex& rStt,
- const SwNodeIndex& rEnd,
+ const SwNode& rStt,
+ const SwNode& rEnd,
std::vector< ::sw::mark::SaveBookmark>* pSaveBkmk, // Ugly: SaveBookmark is core-internal
- const SwContentIndex* pSttIdx,
- const SwContentIndex* pEndIdx) =0;
+ std::optional<sal_Int32> oStartContentIdx,
+ std::optional<sal_Int32> oEndContentIdx) =0;
/** Deletes a mark.