From d9776561954a112f257477c41911f802ba15b0bc Mon Sep 17 00:00:00 2001 From: Sayi Date: Tue, 11 May 2021 08:03:28 +0000 Subject: [PATCH] Remove invalid code git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1889747 13f79535-47bb-0310-9956-ffa450edef68 --- .../main/java/org/apache/poi/xddf/usermodel/chart/XDDFChart.java | 1 - 1 file changed, 1 deletion(-) 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() -- 2.39.5