aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/hssf/usermodel/HSSFDataValidation.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/poi/hssf/usermodel/HSSFDataValidation.java')
-rw-r--r--src/java/org/apache/poi/hssf/usermodel/HSSFDataValidation.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFDataValidation.java b/src/java/org/apache/poi/hssf/usermodel/HSSFDataValidation.java
index 0dfcbbfa63..288c8ac6e2 100644
--- a/src/java/org/apache/poi/hssf/usermodel/HSSFDataValidation.java
+++ b/src/java/org/apache/poi/hssf/usermodel/HSSFDataValidation.java
@@ -219,9 +219,9 @@ public final class HSSFDataValidation {
return _error_text;
}
- public DVRecord createDVRecord(HSSFWorkbook workbook) {
+ public DVRecord createDVRecord(HSSFSheet sheet) {
- FormulaPair fp = _constraint.createFormulas(workbook);
+ FormulaPair fp = _constraint.createFormulas(sheet);
return new DVRecord(_constraint.getValidationType(),
_constraint.getOperator(),