diff options
Diffstat (limited to 'sw/source/core/undo/untbl.cxx')
-rw-r--r-- | sw/source/core/undo/untbl.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx index 9a89ab1a67ab..8181640e4585 100644 --- a/sw/source/core/undo/untbl.cxx +++ b/sw/source/core/undo/untbl.cxx @@ -1792,6 +1792,10 @@ void SwUndoTblNdsChg::UndoImpl(::sw::UndoRedoContext & rContext) if( IsDelBox() ) nSttNode = pTblNd->GetIndex(); ClearFEShellTabCols(); + + SwTableFmt::AssignFormatParents( (SwTableFmt*)pTblNd->GetTable().GetFrmFmt()->GetRegisteredIn(), + pTblNd->GetTable() ); + CHECK_TABLE( pTblNd->GetTable() ) } @@ -1904,6 +1908,10 @@ void SwUndoTblNdsChg::RedoImpl(::sw::UndoRedoContext & rContext) ; } ClearFEShellTabCols(); + + SwTableFmt::AssignFormatParents( (SwTableFmt*)pTblNd->GetTable().GetFrmFmt()->GetRegisteredIn(), + pTblNd->GetTable() ); + CHECK_TABLE( pTblNd->GetTable() ) } |