diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-08-30 22:31:46 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-08-30 23:08:10 +0200 |
commit | 9299b4ed1fd6aec795e55cf9a5a67f6111b48f7c (patch) | |
tree | a8cd0f9de5a53eadc32d394589b796077708d333 | |
parent | return const& (diff) | |
download | core-9299b4ed1fd6aec795e55cf9a5a67f6111b48f7c.tar.gz core-9299b4ed1fd6aec795e55cf9a5a67f6111b48f7c.zip |
Revert "fftester: empty tabbox protection"
This reverts commit da8583e9ae9dd7085e463b289533d2eeeccd761c.
This should also be covered by commit
dc83b3ae470914dbcb08fe1f0a4a4e1a1d3d8e19.
Change-Id: I173eb3e7f51288574e4807553200a9ca59a45fef
-rw-r--r-- | sw/source/core/docnode/ndtbl.cxx | 3 |
1 files changed, 1 insertions, 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) { |