mirror of https://github.com/apache/poi.git
bug 60416: prefer CellReference ref over String ref
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771232 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
12b8b6c9e7
commit
f656e74c4b
|
@ -711,7 +711,7 @@ public class SXSSFCell implements Cell {
|
|||
XSSFHyperlink xssfobj = (XSSFHyperlink)link;
|
||||
// Assign to us
|
||||
CellReference ref = new CellReference(getRowIndex(), getColumnIndex());
|
||||
xssfobj.setCellReference( ref.formatAsString() );
|
||||
xssfobj.setCellReference( ref );
|
||||
|
||||
// Add to the lists
|
||||
getSheet()._sh.addHyperlink(xssfobj);
|
||||
|
|
|
@ -290,7 +290,7 @@ public class XSSFHyperlink implements Hyperlink {
|
|||
_ctHyperlink.setRef(ref);
|
||||
}
|
||||
@Internal
|
||||
protected void setCellReference(CellReference ref) {
|
||||
public void setCellReference(CellReference ref) {
|
||||
setCellReference(ref.formatAsString());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue