summaryrefslogtreecommitdiff
path: root/sw/inc/ftnidx.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-08-06 15:58:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-07 11:19:19 +0200
commitc186b552d2b4d9c21f064c77a4d28b9f9abf0667 (patch)
tree516515675eab137c9d34fc9c0a42d44652fa6f74 /sw/inc/ftnidx.hxx
parente201a54ce653ba51863289a73af471634a75b218 (diff)
make UpdateFootnote take a SwNode, not an SwNodeIndex
as part of the process of hiding the internals of SwPosition Change-Id: I118c684c30f5f1be5037db09c8f7377cc738d219 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137908 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.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ftnidx.hxx b/sw/inc/ftnidx.hxx
index 7d5a22a01359..79766f22c7da 100644
--- a/sw/inc/ftnidx.hxx
+++ b/sw/inc/ftnidx.hxx
@@ -44,7 +44,7 @@ class SwFootnoteIdxs : public o3tl::sorted_vector<SwTextFootnote*, CompareSwFoot
public:
SwFootnoteIdxs() {}
- void UpdateFootnote( const SwNodeIndex& rStt ); // Update all from pos.
+ void UpdateFootnote( const SwNode& rStt ); // Update all from pos.
void UpdateAllFootnote(); // Update all footnotes.
SwTextFootnote* SeekEntry( const SwNode& rNd, size_t* pPos = nullptr ) const;