[bug-66211] don't validate the row XML when using XSSFTable.updateHeaders

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1903390 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-08-13 14:33:16 +00:00
parent eb5dca9a1e
commit 5add4aa3d3
1 changed files with 1 additions and 1 deletions

View File

@ -798,7 +798,7 @@ public class XSSFTable extends POIXMLDocumentPart implements Table {
XSSFRow row = sheet.getRow(headerRow);
DataFormatter formatter = new DataFormatter();
if (row != null && row.getCTRow().validate()) {
if (row != null) {
int cellnum = firstHeaderColumn;
CTTableColumns ctTableColumns = getCTTable().getTableColumns();
if(ctTableColumns != null) {