poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1849248 - /poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java
Date Tue, 18 Dec 2018 23:13:59 GMT
Author: kiwiwings
Date: Tue Dec 18 23:13:59 2018
New Revision: 1849248

URL: http://svn.apache.org/viewvc?rev=1849248&view=rev
Log:
#63017 - Remove rows from a XSLFTable

Modified:
    poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java

Modified: poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java?rev=1849248&r1=1849247&r2=1849248&view=diff
==============================================================================
--- poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java (original)
+++ poi/trunk/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java Tue Dec
18 23:13:59 2018
@@ -68,7 +68,7 @@ public class TestXSLFTable {
             tab.setColumnWidth(1, 60);
             tab.setColumnWidth(2, 60);
 
-            int startRow = rowIdx;
+            int startRow = rowIdx-1;
 
             XSLFTableRow row = tab.getRows().get(0);
             for (int colIdx=0; colIdx<data[0].length; colIdx++) {
@@ -97,7 +97,7 @@ public class TestXSLFTable {
             as.setAnchor(tab.getAnchor());
         }
 
-        File fileOut = TempFile.createTempFile("tabtest", "pptx");
+        File fileOut = TempFile.createTempFile("tabtest", ".pptx");
         try (FileOutputStream fos = new FileOutputStream(fileOut)) {
             ppt.write(fos);
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message