diff --git a/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java b/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java index 7b29b33a28..8ac25748d8 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java @@ -1051,7 +1051,6 @@ public abstract class XDDFChart extends POIXMLDocumentPart implements TextContai * @since POI 4.0.0 */ public void setExternalId(String id) { - getCTChartSpace().addNewExternalData().setId(id); CTChartSpace ctChartSpace = getCTChartSpace(); CTExternalData externalData = ctChartSpace.isSetExternalData() ? ctChartSpace.getExternalData()