]> source.dussan.org Git - poi.git/commitdiff
bug 61630: Patch from Daniel to fix XSSFExportToXML IllegalArgumentException: Compari...
authorJaven O'Neal <onealj@apache.org>
Thu, 26 Oct 2017 18:10:09 +0000 (18:10 +0000)
committerJaven O'Neal <onealj@apache.org>
Thu, 26 Oct 2017 18:10:09 +0000 (18:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1813443 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xssf/extractor/XSSFExportToXml.java

index 140de7215f7dfa67c1b50df9887b6ed9bb0ed0e7..c7e211d1455fe79a51bbbd892afcfe29e9d67a90 100644 (file)
@@ -446,7 +446,7 @@ public class XSSFExportToXml implements Comparator<String>{
                 }
                 if (elementValue.equals(rightWithoutNamespace)) {
                     rightIndexOf = i;
-                    indexMap.put(samePath+"/"+rightWithoutNamespace, leftIndexOf);
+                    indexMap.put(samePath+"/"+rightWithoutNamespace, rightIndexOf);
                 }
             }
             i++;