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 2016/11/24 21:14:35 UTC
svn commit: r1771231 -
/poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java
Author: onealj
Date: Thu Nov 24 21:14:35 2016
New Revision: 1771231
URL: http://svn.apache.org/viewvc?rev=1771231&view=rev
Log:
bug 60416: Reduce Hyperlink memory consumption in SXSSF; patch from Dmitry Katsubo
Modified:
poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java
Modified: poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java?rev=1771231&r1=1771230&r2=1771231&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFCell.java Thu Nov 24 21:14:35 2016
@@ -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);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org