diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-08-15 10:44:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-15 16:54:05 +0200 |
commit | 077cbb5faecf75b333531afad04d2c9622a47c91 (patch) | |
tree | 3b558f9e5271f1f8d5d599aac898607c93a9ef64 /sw/inc | |
parent | 895d6716ba8f12d98e3685145d433fce72270faa (diff) |
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')
-rw-r--r-- | sw/inc/IDocumentMarkAccess.hxx | 8 |
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. |