Handle slightly broken file with empty BlipFill properly

This commit is contained in:
Dominik Stadler 2026-02-15 18:16:25 +01:00
parent ac4e3c199e
commit 260b22fb09
2 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ public final class XSSFPicture extends XSSFShape implements Picture {
*/ */
@Override @Override
public XSSFPictureData getPictureData() { public XSSFPictureData getPictureData() {
if (ctPicture.getBlipFill().getBlip() == null) { if (ctPicture.getBlipFill() == null || ctPicture.getBlipFill().getBlip() == null) {
return null; return null;
} }

Binary file not shown.