summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-08-13 16:00:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-13 19:08:28 +0200
commit0182491e5fdfe5fa085d6bed527bb66e8b6fdf39 (patch)
treeb4f77faa23470a3f40b02b6e8ab32c8b5617cce9 /sw/inc
parent95639e7473f36a6031ac1305e0a1ed517e351976 (diff)
pass SwNode instead of SwNodeIndex to GetSectionLevel
part of the process of hiding the internals of SwPosition Change-Id: I08f28a918c0d165ef4d143b8121d0aad5771dec0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138231 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/ndarr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx
index d2a58d988074..b50b98b571b8 100644
--- a/sw/inc/ndarr.hxx
+++ b/sw/inc/ndarr.hxx
@@ -166,7 +166,7 @@ public:
Implementation in doc.hxx (because one needs to know Doc for it) ! */
bool IsDocNodes() const;
- static sal_uInt16 GetSectionLevel(const SwNodeIndex &rIndex);
+ static sal_uInt16 GetSectionLevel(const SwNode &rIndex);
void Delete(const SwNodeIndex &rPos, SwNodeOffset nNodes = SwNodeOffset(1));
bool MoveNodes( const SwNodeRange&, SwNodes& rNodes, const SwNodeIndex&,