diff options
author | Yegor Kozlov <yegor@apache.org> | 2008-12-23 16:19:07 +0000 |
---|---|---|
committer | Yegor Kozlov <yegor@apache.org> | 2008-12-23 16:19:07 +0000 |
commit | a2d45f64543e394a82399e3dc4533e89b5c8663b (patch) | |
tree | 0b41a2d22954cc0acad69cf090dd2b4ffa67688a /src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java | |
parent | 27f601e40e6bc2a5ac3eb759580106a569cbc0dc (diff) | |
download | poi-a2d45f64543e394a82399e3dc4533e89b5c8663b.tar.gz poi-a2d45f64543e394a82399e3dc4533e89b5c8663b.zip |
fixed formula parser to correctly resolve sheet-level names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@729028 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java')
-rw-r--r-- | src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java index 08abbb61f6..ac84059467 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java @@ -367,7 +367,7 @@ public final class HSSFSheet implements org.apache.poi.ss.usermodel.Sheet { } DataValidityTable dvt = sheet.getOrCreateDataValidityTable(); - DVRecord dvRecord = dataValidation.createDVRecord(workbook); + DVRecord dvRecord = dataValidation.createDVRecord(this); dvt.addDataValidation(dvRecord); } @@ -1789,6 +1789,6 @@ public final class HSSFSheet implements org.apache.poi.ss.usermodel.Sheet { } public HSSFSheetConditionalFormatting getSheetConditionalFormatting() { - return new HSSFSheetConditionalFormatting(workbook, sheet); + return new HSSFSheetConditionalFormatting(this); } } |