Minor performance tweaks
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@64175 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
29c4b1db5f
commit
4da85678d4
|
@ -2978,7 +2978,7 @@ class PHPExcel_Calculation {
|
||||||
if ((trim($operand1Data['value']) != '') && (is_numeric($operand1Data['value']))) {
|
if ((trim($operand1Data['value']) != '') && (is_numeric($operand1Data['value']))) {
|
||||||
$operand1Data['reference'] = $pCell->getColumn().$operand1Data['value'];
|
$operand1Data['reference'] = $pCell->getColumn().$operand1Data['value'];
|
||||||
} elseif (trim($operand1Data['reference']) == '') {
|
} elseif (trim($operand1Data['reference']) == '') {
|
||||||
$operand1Data['reference'] = $pCell->getColumn().$pCell->getRow();
|
$operand1Data['reference'] = $pCell->getCoordinate();
|
||||||
} else {
|
} else {
|
||||||
$operand1Data['reference'] = $operand1Data['value'].$pCell->getRow();
|
$operand1Data['reference'] = $operand1Data['value'].$pCell->getRow();
|
||||||
}
|
}
|
||||||
|
@ -2987,7 +2987,7 @@ class PHPExcel_Calculation {
|
||||||
if ((trim($operand2Data['value']) != '') && (is_numeric($operand2Data['value']))) {
|
if ((trim($operand2Data['value']) != '') && (is_numeric($operand2Data['value']))) {
|
||||||
$operand2Data['reference'] = $pCell->getColumn().$operand2Data['value'];
|
$operand2Data['reference'] = $pCell->getColumn().$operand2Data['value'];
|
||||||
} elseif (trim($operand2Data['reference']) == '') {
|
} elseif (trim($operand2Data['reference']) == '') {
|
||||||
$operand2Data['reference'] = $pCell->getColumn().$pCell->getRow();
|
$operand2Data['reference'] = $pCell->getCoordinate();
|
||||||
} else {
|
} else {
|
||||||
$operand2Data['reference'] = $operand2Data['value'].$pCell->getRow();
|
$operand2Data['reference'] = $operand2Data['value'].$pCell->getRow();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue