summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docredln.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-07-25 12:05:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-25 15:28:39 +0200
commit9fdb06d65a8f2c3401392bffee9c4639e178aada (patch)
tree419c56ec5b0936212c8621e3ed2822559963e9c7 /sw/source/core/doc/docredln.cxx
parent493b62c6805125b7f3ebfbd2b4b73a7d49aa0f67 (diff)
rename SwIndex->SwContentIndex
to help my poor brain with the different kinds of index we have floating around Change-Id: I47ed223922170687d7e07812445aed66b3218230 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137404 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/doc/docredln.cxx')
-rw-r--r--sw/source/core/doc/docredln.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index 8c82eaba9948..e460c0ce3a68 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -1532,7 +1532,7 @@ void SwRangeRedline::MoveToSection()
SwTextNode* pTextNd = rNds[ pSttNd->GetIndex() + 1 ]->GetTextNode();
SwNodeIndex aNdIdx( *pTextNd );
- SwPosition aPos( aNdIdx, SwIndex( pTextNd ));
+ SwPosition aPos( aNdIdx, SwContentIndex( pTextNd ));
if( pCSttNd && pCEndNd )
{
// tdf#140982 keep annotation ranges in deletions in margin mode
@@ -1601,7 +1601,7 @@ void SwRangeRedline::CopyToSection()
SwNodeIndex aNdIdx( *pSttNd, 1 );
SwTextNode* pTextNd = aNdIdx.GetNode().GetTextNode();
- SwPosition aPos( aNdIdx, SwIndex( pTextNd ));
+ SwPosition aPos( aNdIdx, SwContentIndex( pTextNd ));
// tdf#115815 keep original start position of collapsed annotation ranges
// as temporary bookmarks (removed after file saving and file loading)