mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-26 07:16:03 +03:00
Minor performance tweaks
This commit is contained in:
parent
98e5ac2b24
commit
da7cd71be8
@ -1176,7 +1176,8 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
|||||||
$this->_cachedHighestColumn = $aCoordinates[0];
|
$this->_cachedHighestColumn = $aCoordinates[0];
|
||||||
$this->_cachedHighestRow = max($this->_cachedHighestRow, $aCoordinates[1]);
|
$this->_cachedHighestRow = max($this->_cachedHighestRow, $aCoordinates[1]);
|
||||||
|
|
||||||
// Cell needs appropriate xfIndex
|
// Cell needs appropriate xfIndex from dimensions records
|
||||||
|
// but don't create dimension records if they don't already exist
|
||||||
$rowDimension = $this->getRowDimension($aCoordinates[1], FALSE);
|
$rowDimension = $this->getRowDimension($aCoordinates[1], FALSE);
|
||||||
$columnDimension = $this->getColumnDimension($aCoordinates[0], FALSE);
|
$columnDimension = $this->getColumnDimension($aCoordinates[0], FALSE);
|
||||||
|
|
||||||
@ -1192,7 +1193,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cell at a specific coordinate exists?
|
* Does the cell at a specific coordinate exist?
|
||||||
*
|
*
|
||||||
* @param string $pCoordinate Coordinate of the cell
|
* @param string $pCoordinate Coordinate of the cell
|
||||||
* @throws PHPExcel_Exception
|
* @throws PHPExcel_Exception
|
||||||
|
Loading…
Reference in New Issue
Block a user