summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/unmove.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/unmove.cxx')
-rw-r--r--sw/source/core/undo/unmove.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/undo/unmove.cxx b/sw/source/core/undo/unmove.cxx
index f89ebf50f25f..29b53c069c55 100644
--- a/sw/source/core/undo/unmove.cxx
+++ b/sw/source/core/undo/unmove.cxx
@@ -94,7 +94,7 @@ SwUndoMove::SwUndoMove( SwDoc* pDoc, const SwNodeRange& rRg,
bMoveRange = sal_True;
bJoinNext = bJoinPrev = sal_False;
- nSttCntnt = nEndCntnt = nMvDestCntnt = STRING_MAXLEN;
+ nSttCntnt = nEndCntnt = nMvDestCntnt = COMPLETE_STRING;
nSttNode = rRg.aStart.GetIndex();
nEndNode = rRg.aEnd.GetIndex();
@@ -166,7 +166,7 @@ void SwUndoMove::SetDestRange( const SwNodeIndex& rStt,
}
nInsPosNode = rInsPos.GetIndex();
- nDestSttCntnt = nDestEndCntnt = nInsPosCntnt = STRING_MAXLEN;
+ nDestSttCntnt = nDestEndCntnt = nInsPosCntnt = COMPLETE_STRING;
}
void SwUndoMove::UndoImpl(::sw::UndoRedoContext & rContext)