mirror of https://github.com/apache/poi.git
Sweeping is also needed for empty column-list ...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568791 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
019f40493b
commit
8fc95e8b85
|
@ -55,9 +55,7 @@ public class ColumnHelper {
|
||||||
|
|
||||||
CTCols aggregateCols = CTCols.Factory.newInstance();
|
CTCols aggregateCols = CTCols.Factory.newInstance();
|
||||||
List<CTCols> colsList = worksheet.getColsList();
|
List<CTCols> colsList = worksheet.getColsList();
|
||||||
if (colsList == null || colsList.isEmpty()) {
|
assert(colsList != null);
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (CTCols cols : colsList) {
|
for (CTCols cols : colsList) {
|
||||||
for (CTCol col : cols.getColList()) {
|
for (CTCol col : cols.getColList()) {
|
||||||
|
|
Loading…
Reference in New Issue