summaryrefslogtreecommitdiff
path: root/sw/source/uibase/dochdl
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/uibase/dochdl
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/uibase/dochdl')
-rw-r--r--sw/source/uibase/dochdl/swdtflvr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx
index 5ef544a941fd..918fdd106bd5 100644
--- a/sw/source/uibase/dochdl/swdtflvr.cxx
+++ b/sw/source/uibase/dochdl/swdtflvr.cxx
@@ -926,7 +926,7 @@ void SwTransferable::PrepareForCopyTextRange(SwPaM & rPaM)
SwNodeIndex const aIdx(rDest.GetNodes().GetEndOfContent(), -1);
SwContentNode *const pContentNode(aIdx.GetNode().GetContentNode());
SwPosition aPos(aIdx,
- SwIndex(pContentNode, pContentNode ? pContentNode->Len() : 0));
+ SwContentIndex(pContentNode, pContentNode ? pContentNode->Len() : 0));
rSrc.getIDocumentContentOperations().CopyRange(rPaM, aPos, SwCopyFlags::CheckPosInFly);