aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/testcases/org/apache/poi
diff options
context:
space:
mode:
authorAlain Béarez <abearez@apache.org>2019-11-28 00:51:43 +0000
committerAlain Béarez <abearez@apache.org>2019-11-28 00:51:43 +0000
commitda5d7d44d5a307233beaafcf063268294e89d33b (patch)
tree8a5879c39b786c99a23e6e710a172800eedc9411 /src/ooxml/testcases/org/apache/poi
parent557b67cb247c07988ea3a9418d41380242d7777d (diff)
downloadpoi-da5d7d44d5a307233beaafcf063268294e89d33b.tar.gz
poi-da5d7d44d5a307233beaafcf063268294e89d33b.zip
Fix addition and removal of columns in XSLTTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1870523 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/testcases/org/apache/poi')
-rw-r--r--src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java
index d993b70b90..ce4352f405 100644
--- a/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java
+++ b/src/ooxml/testcases/org/apache/poi/xslf/usermodel/TestXSLFTable.java
@@ -71,6 +71,7 @@ public class TestXSLFTable {
tab.insertColumn(0);
assertEquals(tab.getColumnWidth(1), tab.getColumnWidth(0), 0.00001);
tab.addColumn();
+ tab.getCell(0, data[0].length + 1);
assertEquals(tab.getColumnWidth(tab.getNumberOfColumns() - 2), tab.getColumnWidth(tab.getNumberOfColumns() - 1), 0.00001);
tab.removeColumn(0);
tab.removeColumn(tab.getNumberOfColumns() - 1);