diff options
author | PJ Fanning <fanningpj@apache.org> | 2017-06-28 22:11:26 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2017-06-28 22:11:26 +0000 |
commit | 5d4a4a7f28047195f0f2cd349ffa474a1a4b0297 (patch) | |
tree | d883c20bd796548703cbd1ecb8c863b01daa8eb0 /src/java/org/apache/poi/hssf/util | |
parent | c80988698fa2acea720b7ed8e1c09b71b23b56f8 (diff) | |
download | poi-5d4a4a7f28047195f0f2cd349ffa474a1a4b0297.tar.gz poi-5d4a4a7f28047195f0f2cd349ffa474a1a4b0297.zip |
Ensure SpreadsheetVersion is set for AreaReferences
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hssf/util')
-rw-r--r-- | src/java/org/apache/poi/hssf/util/AreaReference.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/hssf/util/AreaReference.java b/src/java/org/apache/poi/hssf/util/AreaReference.java index 3474abff7b..3e3b26e229 100644 --- a/src/java/org/apache/poi/hssf/util/AreaReference.java +++ b/src/java/org/apache/poi/hssf/util/AreaReference.java @@ -17,6 +17,8 @@ package org.apache.poi.hssf.util; +import org.apache.poi.ss.SpreadsheetVersion; + /** * @deprecated POI 3.15 beta 3. Use {@link org.apache.poi.ss.util.AreaReference} instead. */ @@ -28,7 +30,7 @@ public final class AreaReference extends org.apache.poi.ss.util.AreaReference { * The area reference must be contiguous (i.e. represent a single rectangle, not a union of rectangles) */ public AreaReference(String reference) { - super(reference); + super(reference, SpreadsheetVersion.EXCEL97); } /** |