diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-07-14 14:34:55 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-14 14:56:17 +0200 |
commit | 7132dfe7b5030ef5a27a65e5ceaeca67dac96f13 (patch) | |
tree | edcd5c2997c92a30f308ab2994b625062c69483f /sw | |
parent | 34c211efce812d16dd414a94ca7aead8f671ae71 (diff) |
sw: assert _SaveTable::CreateNew() deletes everything in temp box
Change-Id: Ib668bb948a2cd557db7b8804f8a81800048f88bd
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/undo/untbl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); |