mirror of https://github.com/apache/poi.git
[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:
parent
eb5dca9a1e
commit
5add4aa3d3
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue