summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--poi-ooxml/src/test/java/org/apache/poi/xslf/TestXSLFBugs.java9
-rw-r--r--test-data/slideshow/bug65673.pptxbin0 -> 35014 bytes
2 files changed, 9 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 c6d92c4c59..ea77de2ba0 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
@@ -1104,4 +1104,13 @@ class TestXSLFBugs {
assertEquals("Can't create extractor - unsupported file type: XML", ie.getMessage());
}
+ @Test
+ void bug65673() throws IOException {
+ try (XMLSlideShow slideShowModel = openSampleDocument("bug65673.pptx")) {
+ final XSLFSlide modelSlide = slideShowModel.getSlides().get(0);
+ try (XMLSlideShow newSlideShow = new XMLSlideShow()) {
+ newSlideShow.createSlide().importContent(modelSlide);
+ }
+ }
+ }
}
diff --git a/test-data/slideshow/bug65673.pptx b/test-data/slideshow/bug65673.pptx
new file mode 100644
index 0000000000..cd29302c61
--- /dev/null
+++ b/test-data/slideshow/bug65673.pptx
Binary files differ