diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-05 16:06:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-08-06 15:05:36 +0200 |
commit | 71ce0e354437db3086d6d746b0e9edbc693ddcca (patch) | |
tree | 60f1136890eedf15280023eeabd8ec18db776a84 /sw/inc/ftnidx.hxx | |
parent | a95bf932ed22abbb346b1d70e3c32578074667f3 (diff) |
make SeekEntry take a SwNode, not an SwNodeIndex
as part of the process of hiding the internals of SwPosition
Change-Id: Id43211f221f3b90c46629bedec25f9078c7bf9dd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137894
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/ftnidx.hxx')
-rw-r--r-- | sw/inc/ftnidx.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/ftnidx.hxx b/sw/inc/ftnidx.hxx index 39acdf0a96a0..7d5a22a01359 100644 --- a/sw/inc/ftnidx.hxx +++ b/sw/inc/ftnidx.hxx @@ -27,6 +27,7 @@ class IDocumentRedlineAccess; class SwTextFootnote; class SwNodeIndex; class SwSectionNode; +class SwNode; // Everywhere where NodeIndex is used, the header files missing here // are already included. Therefore put here as defines only and @@ -46,7 +47,7 @@ public: void UpdateFootnote( const SwNodeIndex& rStt ); // Update all from pos. void UpdateAllFootnote(); // Update all footnotes. - SwTextFootnote* SeekEntry( const SwNodeIndex& rIdx, size_t* pPos = nullptr ) const; + SwTextFootnote* SeekEntry( const SwNode& rNd, size_t* pPos = nullptr ) const; }; class SwUpdFootnoteEndNtAtEnd |