summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/eddel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/eddel.cxx')
-rw-r--r--sw/source/core/edit/eddel.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/edit/eddel.cxx b/sw/source/core/edit/eddel.cxx
index 3dbb4ef5d963..d3fd0fc45b43 100644
--- a/sw/source/core/edit/eddel.cxx
+++ b/sw/source/core/edit/eddel.cxx
@@ -273,8 +273,7 @@ bool SwEditShell::Copy( SwEditShell& rDestShell )
{
SwPaM* pCursor = rDestShell.GetCursor();
pCursor->SetMark();
- pCursor->GetPoint()->nNode = aSttNdIdx.GetIndex()+1;
- pCursor->GetPoint()->nContent.Assign( pCursor->GetContentNode(),nSttCntIdx);
+ pCursor->GetPoint()->Assign( aSttNdIdx.GetIndex()+1, nSttCntIdx );
pCursor->Exchange();
}
else