summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/unspnd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/unspnd.cxx')
-rw-r--r--sw/source/core/undo/unspnd.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/undo/unspnd.cxx b/sw/source/core/undo/unspnd.cxx
index 0fef0790c99a..787aed4ea48a 100644
--- a/sw/source/core/undo/unspnd.cxx
+++ b/sw/source/core/undo/unspnd.cxx
@@ -71,6 +71,8 @@ SwUndoSplitNode::SwUndoSplitNode( SwDoc* pDoc, const SwPosition& rPos,
pRedlData = new SwRedlineData( nsRedlineType_t::REDLINE_INSERT, pDoc->GetRedlineAuthor() );
SetRedlineMode( pDoc->GetRedlineMode() );
}
+
+ nParRsid = pTxtNd->GetParRsid();
}
SwUndoSplitNode::~SwUndoSplitNode()
@@ -147,6 +149,8 @@ void SwUndoSplitNode::UndoImpl(::sw::UndoRedoContext & rContext)
pDoc->RstTxtAttrs( rPam, sal_True );
pHistory->TmpRollback( pDoc, 0, false );
}
+
+ pDoc->UpdateParRsid( pTNd, nParRsid );
}
}