Kaydet (Commit) da8583e9 authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) David Tardon

fftester: empty tabbox protection

Change-Id: I56b0845205d6968355b3327721bf9ca0930903e1
(cherry picked from commit b3533883)
Reviewed-on: https://gerrit.libreoffice.org/28424Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst 8cba5e9b
...@@ -1329,6 +1329,8 @@ lcl_SetTableBoxWidths2(SwTable & rTable, size_t const nMaxBoxes, ...@@ -1329,6 +1329,8 @@ lcl_SetTableBoxWidths2(SwTable & rTable, size_t const nMaxBoxes,
for (size_t nTmpLine = 0; nTmpLine < rLines.size(); ++nTmpLine) for (size_t nTmpLine = 0; nTmpLine < rLines.size(); ++nTmpLine)
{ {
SwTableBoxes & rBoxes = rLines[nTmpLine]->GetTabBoxes(); SwTableBoxes & rBoxes = rLines[nTmpLine]->GetTabBoxes();
if (rBoxes.empty())
continue;
size_t const nMissing = nMaxBoxes - rBoxes.size(); size_t const nMissing = nMaxBoxes - rBoxes.size();
if (nMissing) if (nMissing)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment