diff options
Diffstat (limited to 'sw/source/core/doc/doccorr.cxx')
-rw-r--r-- | sw/source/core/doc/doccorr.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/core/doc/doccorr.cxx b/sw/source/core/doc/doccorr.cxx index a98fedb58708..596634bb5e1f 100644 --- a/sw/source/core/doc/doccorr.cxx +++ b/sw/source/core/doc/doccorr.cxx @@ -77,9 +77,8 @@ namespace SwPosition & rPos = pPam->GetBound(bool(nb)); if(&rPos.GetNode() == pOldNode) { - rPos.Assign( rNewPos.GetNode() ); - if(rNewPos.GetNode().GetContentNode()) - rPos.AdjustContent(nCntIdx); + rPos.Assign(rNewPos.GetNode(), SwNodeOffset(0), + nCntIdx + rPos.GetContentIndex()); } } } |