try to work around issue with getting embedded smart art diagram

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902947 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-07-22 14:36:47 +00:00
parent 32bf52b449
commit 1b60ffe391

View File

@ -143,7 +143,6 @@ public class TestXSLFDiagram {
assertEquals(TextAlign.RIGHT, greenCircleText.getTextParagraphs().get(0).getTextAlign());
// Shape 4 - Circle with Picture Fill - no text
XSLFSlide slide1 = inputPptx.getSlides().get(0);
XSLFAutoShape pictureShape = (XSLFAutoShape) shapes.get(6);
assertTrue(pictureShape.getText().isEmpty(), "text is empty?");
XSLFTexturePaint texturePaint = (XSLFTexturePaint) pictureShape.getFillPaint();