}
XSLFTheme theme = getSheet().getTheme();
- final XSLFColor c = new XSLFColor(txStyle, theme, phClr, getSheet());
- return DrawPaint.createSolidPaint(c.getColorStyle());
+ try {
+ final XSLFColor c = new XSLFColor(txStyle, theme, phClr, getSheet());
+ return DrawPaint.createSolidPaint(c.getColorStyle());
+ } catch (IllegalArgumentException e) {
+ return super.getFontColor();
+ }
}
}
}
import org.apache.poi.sl.usermodel.PaintStyle;
import org.apache.poi.xslf.XSLFTestDataSamples;
-import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
class TestXSLFTableCell
ppt.close();
}
- @Disabled
@Test
void testBug68703() throws IOException {
try(XMLSlideShow pptx = XSLFTestDataSamples.openSampleDocument("bug68703.pptx")) {