summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-08-05 11:34:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-05 13:48:49 +0200
commit063d7fda7e3942706ca8818abe7f2758a7991b92 (patch)
tree8c69fc910b5e5e9592371b36f14e97fa86dd3f8e /sw/inc
parent8a4271e168f70f9147b567189c1770a243e7fcb1 (diff)
introduce GoNextSection(SwPosition... and similar
as part of the process of hiding the internals of SwPosition No functional change intended Change-Id: Ia34d7f19685308ff2b9bddcfc40f9d13df348b16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137849 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/ndarr.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx
index 0bf1f69f63fd..683cfde170bf 100644
--- a/sw/inc/ndarr.hxx
+++ b/sw/inc/ndarr.hxx
@@ -191,8 +191,12 @@ public:
(Both set FALSE ==> GoNext/GoPrevious!!!). */
SwContentNode* GoNextSection( SwNodeIndex *, bool bSkipHidden = true,
bool bSkipProtect = true ) const;
+ SwContentNode* GoNextSection( SwPosition *, bool bSkipHidden = true,
+ bool bSkipProtect = true ) const;
static SwContentNode* GoPrevSection( SwNodeIndex *, bool bSkipHidden = true,
bool bSkipProtect = true );
+ static SwContentNode* GoPrevSection( SwPosition *, bool bSkipHidden = true,
+ bool bSkipProtect = true );
/** Create an empty section of Start- and EndNote. It may be called
only if a new section with content is to be created,