summaryrefslogtreecommitdiff
path: root/sw/source/core/tox/txmsrt.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-08-01 10:30:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-08-02 15:11:17 +0200
commitaf23d1c1fc407b3d5f020122e2830959d45ffaf1 (patch)
tree4ff56a1fd767efc3aa05266bc7038e811d1450ee /sw/source/core/tox/txmsrt.cxx
parent961d42e1ca1da7f3199d46445b3766d9c6a6c938 (diff)
introduce SwPosition::GetContentIndex
as part of the process of hiding the internals of SwPosition largely done by doing: git grep -lF 'nContent.GetIndex' | xargs perl -pi -e 's/\bnContent\.GetIndex/GetContentIndex/g' Change-Id: I12684071a6666c365dbadbab2a4b37cf51b274d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137695 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/tox/txmsrt.cxx')
-rw-r--r--sw/source/core/tox/txmsrt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/tox/txmsrt.cxx b/sw/source/core/tox/txmsrt.cxx
index 73d73d5e46e6..e197e18267f8 100644
--- a/sw/source/core/tox/txmsrt.cxx
+++ b/sw/source/core/tox/txmsrt.cxx
@@ -175,7 +175,7 @@ SwTOXSortTabBase::SwTOXSortTabBase( TOXSortType nTyp, const SwContentNode* pNd,
bool const bResult = GetBodyTextNode( rDoc, aPos, *pFrame );
OSL_ENSURE(bResult, "where is the text node");
nPos = aPos.GetNodeIndex();
- nCntPos = aPos.nContent.GetIndex();
+ nCntPos = aPos.GetContentIndex();
}
}
else