]> source.dussan.org Git - poi.git/commitdiff
try to work around issue with getting embedded smart art diagram
authorPJ Fanning <fanningpj@apache.org>
Fri, 22 Jul 2022 14:36:47 +0000 (14:36 +0000)
committerPJ Fanning <fanningpj@apache.org>
Fri, 22 Jul 2022 14:36:47 +0000 (14:36 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902947 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/test/java/org/apache/poi/xslf/usermodel/TestXSLFDiagram.java

index aaab7805bdfc3451704707026d251ce5965a92fa..d8b1a655c9da67988c8f4dbc673f23ccffebffef 100644 (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();