1. mst
  2. ooo340

Commits

Michael Stahl  committed 1b16643

rtftok01: #i113098#: workaround for resolveCurrentTable with no table

  • Participants
  • Parent commits 7f56942
  • Branches default

Comments (0)

Files changed (1)

File writerfilter/inc/resourcemodel/TableManager.hxx

View file
  • Ignore whitespace
 
         unsigned int nRows = pTableData->getRowCount();
 
+        if (nRows) { // assert?
+
         mpTableDataHandler->startTable(nRows, pTableData->getDepth(), getTableProps());
 
         for (unsigned int nRow = 0; nRow < nRows; ++nRow)
         }
 
         mpTableDataHandler->endTable();
+
+        }
     }
     resetTableProps();
     clearData();