mirror of https://github.com/apache/poi.git
monor perf issue in XSSFCell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898083 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8d522d0eb6
commit
7dbfc41dfb
|
@ -117,8 +117,9 @@ public final class XSSFCell extends CellBase {
|
|||
protected XSSFCell(XSSFRow row, CTCell cell) {
|
||||
_cell = cell;
|
||||
_row = row;
|
||||
if (cell.getR() != null) {
|
||||
_cellNum = new CellReference(cell.getR()).getCol();
|
||||
String rval = cell.getR();
|
||||
if (rval != null) {
|
||||
_cellNum = new CellReference(rval).getCol();
|
||||
} else {
|
||||
int prevNum = row.getLastCellNum();
|
||||
if(prevNum != -1){
|
||||
|
|
Loading…
Reference in New Issue