diff options
Diffstat (limited to 'sw/source/core/undo/undobj1.cxx')
-rw-r--r-- | sw/source/core/undo/undobj1.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/undo/undobj1.cxx b/sw/source/core/undo/undobj1.cxx index 49eab82628c0..8f2538a53bb1 100644 --- a/sw/source/core/undo/undobj1.cxx +++ b/sw/source/core/undo/undobj1.cxx @@ -266,6 +266,7 @@ void SwUndoInsLayFormat::UndoImpl(::sw::UndoRedoContext & rContext) const SwFormatContent& rContent = m_pFrameFormat->GetContent(); if( rContent.GetContentIdx() ) // no content { + assert(&rContent.GetContentIdx()->GetNodes() == &rDoc.GetNodes()); bool bRemoveIdx = true; if( mnCursorSaveIndexPara > 0 ) { |