You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by on...@apache.org on 2015/11/24 09:54:32 UTC

svn commit: r1716075 - /poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java

Author: onealj
Date: Tue Nov 24 08:54:32 2015
New Revision: 1716075

URL: http://svn.apache.org/viewvc?rev=1716075&view=rev
Log:
bug 58637: replace deprecated getCellComment(row, col) usage

Modified:
    poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java

Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java?rev=1716075&r1=1716074&r2=1716075&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFCell.java Tue Nov 24 08:54:32 2015
@@ -1003,7 +1003,7 @@ public final class XSSFCell implements C
      */
     @Override
     public XSSFComment getCellComment() {
-        return getSheet().getCellComment(_row.getRowNum(), getColumnIndex());
+        return getSheet().getCellComment(new CellAddress(this));
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org