aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/hssf/usermodel/HSSFHyperlink.java
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2017-09-18 16:31:55 +0000
committerPJ Fanning <fanningpj@apache.org>2017-09-18 16:31:55 +0000
commit38650a6d2fc2fea011c0f19a26d62a158b865f59 (patch)
treec0a8c6094c3a67edf50b176963d109d9a0df7eb2 /src/java/org/apache/poi/hssf/usermodel/HSSFHyperlink.java
parent044382106b73380327af6d6c8a14850ba57b3228 (diff)
downloadpoi-38650a6d2fc2fea011c0f19a26d62a158b865f59.tar.gz
poi-38650a6d2fc2fea011c0f19a26d62a158b865f59.zip
use non-deprecated versions of getCellType
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808741 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hssf/usermodel/HSSFHyperlink.java')
-rw-r--r--src/java/org/apache/poi/hssf/usermodel/HSSFHyperlink.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFHyperlink.java b/src/java/org/apache/poi/hssf/usermodel/HSSFHyperlink.java
index 4b947959e6..88b55d5357 100644
--- a/src/java/org/apache/poi/hssf/usermodel/HSSFHyperlink.java
+++ b/src/java/org/apache/poi/hssf/usermodel/HSSFHyperlink.java
@@ -102,7 +102,7 @@ public class HSSFHyperlink implements Hyperlink {
link_type = getType(record);
}
else {
- link_type = other.getTypeEnum();
+ link_type = other.getType();
record = new HyperlinkRecord();
setFirstRow(other.getFirstRow());
setFirstColumn(other.getFirstColumn());