aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java12
-rw-r--r--test-data/slideshow/tika-2605.pptxbin0 -> 625680 bytes
2 files changed, 12 insertions, 0 deletions
diff --git a/poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java b/poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java
index f322bd2339..e41c91a2f1 100644
--- a/poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java
+++ b/poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java
@@ -1108,4 +1108,16 @@ class TestXSLFBugs {
}
}
}
+
+ @Test
+ void tika2605() throws IOException {
+ try (XMLSlideShow slideShowModel = openSampleDocument("tika-2605.pptx")) {
+ for (XSLFSlide slide : slideShowModel.getSlides()) {
+ assertNotNull(slide);
+ for (XSLFShape shape : slide.getShapes()) {
+ assertNotNull(shape);
+ }
+ }
+ }
+ }
}
diff --git a/test-data/slideshow/tika-2605.pptx b/test-data/slideshow/tika-2605.pptx
new file mode 100644
index 0000000000..59cd32947a
--- /dev/null
+++ b/test-data/slideshow/tika-2605.pptx
Binary files differ