From 077cbb5faecf75b333531afad04d2c9622a47c91 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 15 Aug 2022 10:44:50 +0200 Subject: 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 --- sw/inc/IDocumentMarkAccess.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sw/inc') 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 oStartContentIdx, + std::optional oEndContentIdx) =0; /** Deletes a mark. -- cgit