diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2020-09-01 22:28:31 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2020-09-01 22:28:31 +0000 |
commit | 9f91309b28fbeca6522d2f72633564762d94f87d (patch) | |
tree | 905b2481b0aa3eb64369c8d7619779d36c046e77 | |
parent | 915d1a216e6877f9b15477640ec215ff865f945f (diff) | |
download | poi-9f91309b28fbeca6522d2f72633564762d94f87d.tar.gz poi-9f91309b28fbeca6522d2f72633564762d94f87d.zip |
Adapt to new XmlBeans changes of r1881383
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1881384 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/ooxml/java/org/apache/poi/xssf/model/SharedStringsTable.java | 6 |
1 files changed, 3 insertions, 3 deletions
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)); } |