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

(-)a/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFSheet.java (-1 / +2 lines)
Lines 701-707 implements XSLFShapeContainer, Sheet<XSLFShape,XSLFTextParagraph> { Link Here
701
        for (XSLFShape shape : pictureShape.getSheet().getShapes()) {
701
        for (XSLFShape shape : pictureShape.getSheet().getShapes()) {
702
            if (shape instanceof XSLFPictureShape) {
702
            if (shape instanceof XSLFPictureShape) {
703
                XSLFPictureShape currentPictureShape = ((XSLFPictureShape) shape);
703
                XSLFPictureShape currentPictureShape = ((XSLFPictureShape) shape);
704
                if (currentPictureShape.getBlipId().equals(targetBlipId)) {
704
                String currentBlipId = currentPictureShape.getBlipId();
705
                if (currentBlipId != null && currentBlipId.equals(targetBlipId)) {
705
                    numberOfRelations++;
706
                    numberOfRelations++;
706
                }
707
                }
707
            }
708
            }

Return to bug 62800