diff options
-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) { |