[bug-65673] add test case (that passes)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894830 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-11-08 11:00:59 +00:00
parent fec7e1cc89
commit 336bce7c82
2 changed files with 9 additions and 0 deletions

View File

@ -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);
}
}
}
}

Binary file not shown.