@Test
public void bug65523() throws IOException {
try (XMLSlideShow sourcePresentation = openSampleDocument("bug65523.pptx")) {
+ assertEquals(2, sourcePresentation.getPictureData().size());
XMLSlideShow targetPresentation = new XMLSlideShow();
XSLFSlide targetPresentationSlide = targetPresentation.createSlide();
targetPresentationSlide.importContent(sourceSlide);
+ XSLFSlide targetSlide = targetPresentation.getSlides().get(0);
+ assertEquals(2, targetPresentation.getPictureData().size());
+
targetPresentation.write(new UnsynchronizedByteArrayOutputStream());
}
}