From 9b36a0dd9ff5f934aae217179b78e5526ffaab0e Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Fri, 18 Jul 2014 18:30:16 +0000 Subject: Start to support formula parsing of sheet-specified named ranges, required for a full fix to bug #56737 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1611753 13f79535-47bb-0310-9956-ffa450edef68 --- src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/testcases/org/apache/poi/hssf/usermodel') diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java index 9421b56348..4607407eb2 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java @@ -2678,5 +2678,9 @@ public final class TestBugs extends BaseTestBugzillaIssues { // Try to evaluate everything eval.evaluateAll(); + + // Try to set the same kinds of formula elsewhere + Cell newF = s.getRow(0).createCell(10, Cell.CELL_TYPE_FORMULA); + newF.setCellFormula("Defines!NR_To_A1"); } } -- cgit v1.2.3