mirror of https://github.com/apache/poi.git
optimized performance of HSSFCell#setHyperlink
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@983362 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0427fc7a0f
commit
ce5c607e24
|
@ -1159,8 +1159,9 @@ public class HSSFCell implements Cell {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
int eofLoc = _sheet.getSheet().findFirstRecordLocBySid( EOFRecord.sid );
|
List<RecordBase> records = _sheet.getSheet().getRecords();
|
||||||
_sheet.getSheet().getRecords().add( eofLoc, link.record );
|
int eofLoc = records.size() - 1;
|
||||||
|
records.add( eofLoc, link.record );
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Only valid for formula cells
|
* Only valid for formula cells
|
||||||
|
|
Loading…
Reference in New Issue