From 7132dfe7b5030ef5a27a65e5ceaeca67dac96f13 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 14 Jul 2015 14:34:55 +0200 Subject: sw: assert _SaveTable::CreateNew() deletes everything in temp box Change-Id: Ib668bb948a2cd557db7b8804f8a81800048f88bd --- sw/source/core/undo/untbl.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sw') diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx index c2c34a086ced..40f9ef9c8013 100644 --- a/sw/source/core/undo/untbl.cxx +++ b/sw/source/core/undo/untbl.cxx @@ -1068,6 +1068,7 @@ void _SaveTable::CreateNew( SwTable& rTable, bool bCreateFrms, } aParent.GetTabLines().erase( aParent.GetTabLines().begin(), aParent.GetTabLines().begin() + n ); + assert(aParent.GetTabLines().empty()); if( bCreateFrms ) aTmpBox.MakeFrms( rTable ); -- cgit