Fix to getCellStyleXfByHashCode() method

This commit is contained in:
MarkBaker 2015-01-08 01:23:11 +00:00
parent 41d970f125
commit 5e24bcfedc
1 changed files with 1 additions and 1 deletions

View File

@ -1011,7 +1011,7 @@ class PHPExcel
*/ */
public function getCellStyleXfByHashCode($pValue = '') public function getCellStyleXfByHashCode($pValue = '')
{ {
foreach ($this->_cellXfStyleCollection as $cellStyleXf) { foreach ($this->_cellStyleXfCollection as $cellStyleXf) {
if ($cellStyleXf->getHashCode() == $pValue) { if ($cellStyleXf->getHashCode() == $pValue) {
return $cellStyleXf; return $cellStyleXf;
} }