From: Andreas Beeker Date: Tue, 1 Sep 2020 22:28:31 +0000 (+0000) Subject: Adapt to new XmlBeans changes of r1881383 X-Git-Tag: before_ooxml_3rd_edition~126 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9f91309b28fbeca6522d2f72633564762d94f87d;p=poi.git Adapt to new XmlBeans changes of r1881383 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881384 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java b/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java index 3805eb95b3..f1d59a14bb 100644 --- a/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java +++ b/src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java @@ -91,9 +91,9 @@ public class SharedStringsTable extends POIXMLDocumentPart implements SharedStri private static final XmlOptions options = new XmlOptions(); static { - options.put( XmlOptions.SAVE_INNER ); - options.put( XmlOptions.SAVE_AGGRESSIVE_NAMESPACES ); - options.put( XmlOptions.SAVE_USE_DEFAULT_NAMESPACE ); + options.setSaveInner(); + options.setSaveAggressiveNamespaces(); + options.setUseDefaultNamespace(true); options.setSaveImplicitNamespaces(Collections.singletonMap("", NS_SPREADSHEETML)); }