From 9299b4ed1fd6aec795e55cf9a5a67f6111b48f7c Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 30 Aug 2016 22:31:46 +0200 Subject: Revert "fftester: empty tabbox protection" This reverts commit da8583e9ae9dd7085e463b289533d2eeeccd761c. This should also be covered by commit dc83b3ae470914dbcb08fe1f0a4a4e1a1d3d8e19. Change-Id: I173eb3e7f51288574e4807553200a9ca59a45fef --- sw/source/core/docnode/ndtbl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx index 0abfc39c6d3e..531066291adf 100644 --- a/sw/source/core/docnode/ndtbl.cxx +++ b/sw/source/core/docnode/ndtbl.cxx @@ -1330,8 +1330,7 @@ lcl_SetTableBoxWidths2(SwTable & rTable, size_t const nMaxBoxes, for (size_t nTmpLine = 0; nTmpLine < rLines.size(); ++nTmpLine) { SwTableBoxes & rBoxes = rLines[nTmpLine]->GetTabBoxes(); - if (rBoxes.empty()) - continue; + assert(!rBoxes.empty()); // ensured by convertToTable size_t const nMissing = nMaxBoxes - rBoxes.size(); if (nMissing) { -- cgit