From 65cd898a61279ddf586f1d671ed23a2ea7b7bcd5 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Tue, 24 Nov 2015 08:54:32 +0000 Subject: [PATCH] bug 58637: replace deprecated getCellComment(row, col) usage git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1716075 13f79535-47bb-0310-9956-ffa450edef68 --- src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java index 23ec7f7c5..040ccc7ee 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java @@ -1003,7 +1003,7 @@ public final class XSSFCell implements Cell { */ @Override public XSSFComment getCellComment() { - return getSheet().getCellComment(_row.getRowNum(), getColumnIndex()); + return getSheet().getCellComment(new CellAddress(this)); } /**