View | Details | Raw Unified | Return to bug 39903
Collapse All | Expand All

(-)src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java (+5 lines)
Lines 194-199 Link Here
194
            Sheet sheet = Sheet.createSheet(records, sheetNum++, recOffset );
194
            Sheet sheet = Sheet.createSheet(records, sheetNum++, recOffset );
195
195
196
            recOffset = sheet.getEofLoc()+1;
196
            recOffset = sheet.getEofLoc()+1;
197
            if (recOffset == 1)
198
            {
199
                break;
200
            }
201
197
            HSSFSheet hsheet = new HSSFSheet(workbook, sheet);
202
            HSSFSheet hsheet = new HSSFSheet(workbook, sheet);
198
203
199
            sheets.add(hsheet);
204
            sheets.add(hsheet);

Return to bug 39903