summaryrefslogtreecommitdiffstats
path: root/sw/source/core/undo/unsort.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/unsort.cxx')
-rw-r--r--sw/source/core/undo/unsort.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/unsort.cxx b/sw/source/core/undo/unsort.cxx
index 9008860776a6..3a06ea4574c8 100644
--- a/sw/source/core/undo/unsort.cxx
+++ b/sw/source/core/undo/unsort.cxx
@@ -219,7 +219,7 @@ void SwUndoSort::RedoImpl(::sw::UndoRedoContext & rContext)
// delete indices
aIdxList.clear();
SetPaM(rPam, true);
- SwTextNode const*const pTNd = rPam.GetNode().GetTextNode();
+ SwTextNode const*const pTNd = rPam.GetPointNode().GetTextNode();
if( pTNd )
{
rPam.GetPoint()->nContent = pTNd->GetText().getLength();