diff --git a/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFTextParagraph.java b/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFTextParagraph.java index 60b648244b..d8bcd25f1d 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFTextParagraph.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XSLFTextParagraph.java @@ -75,7 +75,7 @@ public class XSLFTextParagraph implements TextParagraph cellParagraphs = cell.getTextParagraphs(); + List cellTextRuns = cellParagraphs.get(0).getTextRuns(); + PaintStyle fontColor = cellTextRuns.get(0).getFontColor(); + assertNotNull(fontColor); + assertTrue(fontColor instanceof PaintStyle.SolidPaint); + assertEquals(Color.black, ((PaintStyle.SolidPaint) fontColor).getSolidColor().getColor()); + } + } + } diff --git a/test-data/slideshow/bug68703.pptx b/test-data/slideshow/bug68703.pptx new file mode 100644 index 0000000000..ac62bce13b Binary files /dev/null and b/test-data/slideshow/bug68703.pptx differ