Minor performance tweaks

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64175 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2010-11-23 00:05:20 +00:00
parent 29c4b1db5f
commit 4da85678d4
1 changed files with 2 additions and 2 deletions

View File

@ -2978,7 +2978,7 @@ class PHPExcel_Calculation {
if ((trim($operand1Data['value']) != '') && (is_numeric($operand1Data['value']))) {
$operand1Data['reference'] = $pCell->getColumn().$operand1Data['value'];
} elseif (trim($operand1Data['reference']) == '') {
$operand1Data['reference'] = $pCell->getColumn().$pCell->getRow();
$operand1Data['reference'] = $pCell->getCoordinate();
} else {
$operand1Data['reference'] = $operand1Data['value'].$pCell->getRow();
}
@ -2987,7 +2987,7 @@ class PHPExcel_Calculation {
if ((trim($operand2Data['value']) != '') && (is_numeric($operand2Data['value']))) {
$operand2Data['reference'] = $pCell->getColumn().$operand2Data['value'];
} elseif (trim($operand2Data['reference']) == '') {
$operand2Data['reference'] = $pCell->getColumn().$pCell->getRow();
$operand2Data['reference'] = $pCell->getCoordinate();
} else {
$operand2Data['reference'] = $operand2Data['value'].$pCell->getRow();
}