diff options
author | Yegor Kozlov <yegor@apache.org> | 2011-07-20 09:42:31 +0000 |
---|---|---|
committer | Yegor Kozlov <yegor@apache.org> | 2011-07-20 09:42:31 +0000 |
commit | f804dd9e7b95b9bca025bfb6a46d3dcc4ac2ae12 (patch) | |
tree | a69790bb6c0a2c64da25a12c8a6f69075c3e9b47 /src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java | |
parent | 0a86816c7c851f821ce9800248b64afb1f4f99c4 (diff) | |
download | poi-f804dd9e7b95b9bca025bfb6a46d3dcc4ac2ae12.tar.gz poi-f804dd9e7b95b9bca025bfb6a46d3dcc4ac2ae12.zip |
Fixed bug 51533 - Avoid exception when changing name of a sheet containing shared formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148673 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java index 4832f9f014..68ec3b2260 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestHSSFWorkbook.java @@ -713,4 +713,9 @@ public final class TestHSSFWorkbook extends BaseTestWorkbook { assertEquals(3, bse.getRef()); } } + + public void testChangeSheetNameWithSharedFormulas() { + changeSheetNameWithSharedFormulas("shared_formulas.xls"); + } + } |