aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-05-22 16:31:05 +0000
committerPJ Fanning <fanningpj@apache.org>2023-05-22 16:31:05 +0000
commitdfe5dd150cdcb5a32fbcb00d9c442ef1a21d0085 (patch)
treed0dbe3ae16c20de0ff3f9ec9b01cea35c37ff866
parentbc035b1aff973201e861ee82573a2129604e224d (diff)
downloadpoi-dfe5dd150cdcb5a32fbcb00d9c442ef1a21d0085.tar.gz
poi-dfe5dd150cdcb5a32fbcb00d9c442ef1a21d0085.zip
[bug-66612] get macrosheet xml (test)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1909996 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/XSSFBReader.java4
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/XSSFReader.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/XSSFBReader.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/XSSFBReader.java
index f11514ca84..bf730e79d1 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/XSSFBReader.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/XSSFBReader.java
@@ -64,8 +64,8 @@ public class XSSFBReader extends XSSFReader {
Arrays.asList(
XSSFRelation.WORKSHEET.getRelation(),
XSSFRelation.CHARTSHEET.getRelation(),
- XSSFRelation.MACRO_SHEET_BIN.getRelation(),
- XSSFRelation.INTL_MACRO_SHEET_BIN.getRelation(),
+ XSSFRelation.MACRO_SHEET_XML.getRelation(),
+ XSSFRelation.INTL_MACRO_SHEET_XML.getRelation(),
XSSFRelation.DIALOG_SHEET_BIN.getRelation()
)
));
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/XSSFReader.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/XSSFReader.java
index c4062e1cd6..55fe271c79 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/XSSFReader.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/eventusermodel/XSSFReader.java
@@ -68,7 +68,7 @@ public class XSSFReader {
Collections.unmodifiableSet(new HashSet<>(
Arrays.asList(XSSFRelation.WORKSHEET.getRelation(),
XSSFRelation.CHARTSHEET.getRelation(),
- XSSFRelation.MACRO_SHEET_BIN.getRelation())
+ XSSFRelation.MACRO_SHEET_XML.getRelation())
));
private static final Logger LOGGER = LogManager.getLogger(XSSFReader.class);