summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docnew.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/docnew.cxx')
-rw-r--r--sw/source/core/doc/docnew.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index 8dfcbb215e3a..fe4044dd58ac 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -1407,8 +1407,8 @@ void SwDoc::Paste( const SwDoc& rSource )
{
aIndexBefore++;
- SwPaM aPaM(SwPosition(aIndexBefore, 0),
- SwPosition(rInsPos.nNode, 0));
+ SwPaM aPaM(SwPosition(aIndexBefore),
+ SwPosition(rInsPos.nNode));
MakeUniqueNumRules(aPaM);
}