Merge pull request #138 from nicoder/patch-3

fix typo in comment, thanks
This commit is contained in:
Mark Baker 2013-02-01 03:17:13 -08:00
commit 144f38dd70

View File

@ -395,7 +395,7 @@ class PHPExcel_Style extends PHPExcel_Style_Supervisor implements PHPExcel_IComp
break; break;
} }
// clone each of the affected styles, apply the style arrray, and add the new styles to the workbook // clone each of the affected styles, apply the style array, and add the new styles to the workbook
$workbook = $this->getActiveSheet()->getParent(); $workbook = $this->getActiveSheet()->getParent();
foreach ($oldXfIndexes as $oldXfIndex => $dummy) { foreach ($oldXfIndexes as $oldXfIndex => $dummy) {
$style = $workbook->getCellXfByIndex($oldXfIndex); $style = $workbook->getCellXfByIndex($oldXfIndex);