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/source/core/docnode/node.cxx | |
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/source/core/docnode/node.cxx')
-rw-r--r-- | sw/source/core/docnode/node.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx index 05007410add3..4723337cd289 100644 --- a/sw/source/core/docnode/node.cxx +++ b/sw/source/core/docnode/node.cxx @@ -474,7 +474,7 @@ bool SwNode::IsProtect() const if( nullptr != pSttNd ) { const SwTextFootnote* pTFootnote = GetDoc().GetFootnoteIdxs().SeekEntry( - SwNodeIndex( *pSttNd ) ); + *pSttNd ); if( pTFootnote ) return pTFootnote->GetTextNode().IsProtect(); } |