diff options
Diffstat (limited to 'sw/source/uibase/dochdl/swdtflvr.cxx')
-rw-r--r-- | sw/source/uibase/dochdl/swdtflvr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index 50dccbcded98..04ed6f737a0d 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -437,8 +437,8 @@ sal_Bool SAL_CALL SwTransferable::isComplex() SwNodes& aNodes = m_pWrtShell->GetDoc()->GetNodes(); for (SwPaM& rPaM : m_pWrtShell->GetCursor()->GetRingContainer()) { - for (SwNodeOffset nIndex = rPaM.GetMark()->nNode.GetIndex(); - nIndex <= rPaM.GetPoint()->nNode.GetIndex(); ++nIndex) + for (SwNodeOffset nIndex = rPaM.GetMark()->GetNodeIndex(); + nIndex <= rPaM.GetPoint()->GetNodeIndex(); ++nIndex) { SwNode& rNd = *aNodes[nIndex]; |