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

(-)java/org/apache/poi/hssf/usermodel/HSSFSheet.java (-4 lines)
Lines 1692-1701 Link Here
1692
        int found = _sheet.aggregateDrawingRecords(
1692
        int found = _sheet.aggregateDrawingRecords(
1693
                _book.getDrawingManager(), false
1693
                _book.getDrawingManager(), false
1694
        );
1694
        );
1695
        if(found == -1) {
1696
            // Workbook has drawing stuff, but this sheet doesn't
1697
            return null;
1698
        }
1699
1695
1700
        // Grab our aggregate record, and wire it up
1696
        // Grab our aggregate record, and wire it up
1701
        EscherAggregate agg = (EscherAggregate) _sheet.findFirstRecordBySid(EscherAggregate.sid);
1697
        EscherAggregate agg = (EscherAggregate) _sheet.findFirstRecordBySid(EscherAggregate.sid);

Return to bug 52272