mirror of https://github.com/apache/poi.git
bug 60416: Reduce Hyperlink memory consumption in SXSSF; patch from Dmitry Katsubo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771231 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
57302986f9
commit
12b8b6c9e7
|
@ -711,7 +711,7 @@ public class SXSSFCell implements Cell {
|
|||
XSSFHyperlink xssfobj = (XSSFHyperlink)link;
|
||||
// Assign to us
|
||||
CellReference ref = new CellReference(getRowIndex(), getColumnIndex());
|
||||
xssfobj.getCTHyperlink().setRef( ref.formatAsString() );
|
||||
xssfobj.setCellReference( ref.formatAsString() );
|
||||
|
||||
// Add to the lists
|
||||
getSheet()._sh.addHyperlink(xssfobj);
|
||||
|
|
Loading…
Reference in New Issue