From 9fdb06d65a8f2c3401392bffee9c4639e178aada Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 25 Jul 2022 12:05:23 +0200 Subject: 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 --- sw/source/uibase/dochdl/swdtflvr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/uibase/dochdl') 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); -- cgit