mirror of https://github.com/apache/poi.git
[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:
parent
fec7e1cc89
commit
336bce7c82
|
@ -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.
Loading…
Reference in New Issue