summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8nds.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-08-01 10:23:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-02 15:10:43 +0200
commit961d42e1ca1da7f3199d46445b3766d9c6a6c938 (patch)
tree1797e56bac0bb438f4d3d27a7fb09d82fdafe827 /sw/source/filter/ww8/wrtw8nds.cxx
parent21ed46f683dd9d838371cdba02593f3e64a5124c (diff)
introduce SwPosition::GetNodeIndex
as part of the process of hiding the internals of SwPosition largely done by doing: git grep -lF 'nNode.GetIndex' | xargs perl -pi -e 's/\bnNode\.GetIndex/GetNodeIndex/g' Change-Id: I3616cea4c47595afe74f1aa8e3be553279f25d44 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137694 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/ww8/wrtw8nds.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8nds.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index 6f260a25c1c6..5a7064bd3d27 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -628,7 +628,7 @@ bool SwWW8AttrIter::IsAnchorLinkedToThisNode( SwNodeOffset nNodePos )
/* if current node position and the anchor position are the same
then the frame anchor is linked to this node
*/
- return nNodePos == maFlyIter->GetPosition().nNode.GetIndex();
+ return nNodePos == maFlyIter->GetPosition().GetNodeIndex();
}
bool SwWW8AttrIter::HasFlysAt(sal_Int32 nSwPos) const
@@ -1522,7 +1522,7 @@ bool SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties( sal_Int32 nEnd ) cons
}
bBreak = false;
}
- if (pStart->nNode.GetIndex()-1 == m_rNode.GetIndex())
+ if (pStart->GetNodeIndex()-1 == m_rNode.GetIndex())
{
if (pStart->nContent.GetIndex() == 0)
{