General: Applied patch 6609 - Removes a unnecessary loop through each cell when applying conditional formatting to a range.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62766 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2010-10-25 09:42:34 +00:00
parent 568d3fa933
commit 0a826fe9a6
2 changed files with 2 additions and 3 deletions

View File

@ -610,9 +610,7 @@ class PHPExcel_Style implements PHPExcel_IComparable
*/
public function setConditionalStyles($pValue = null) {
if (is_array($pValue)) {
foreach (PHPExcel_Cell::extractAllCellReferencesInRange($this->getSelectedCells()) as $cellReference) {
$this->getActiveSheet()->setConditionalStyles($cellReference, $pValue);
}
$this->getActiveSheet()->setConditionalStyles($this->getSelectedCells(), $pValue);
}
return $this;
}

View File

@ -52,6 +52,7 @@ Fixed in SVN:
These leading characters are most commonly associated with number, currency or accounting (or occasionally fraction) formats
- Bugfix: (MBaker) Workitem 14374 - BUG : Excel5 and setReadFilter ?
- Bugfix: (MBaker) Workitem 14425 - Wrong exception message while deleting column
- General: (MBaker) Applied patch 6609 - Removes a unnecessary loop through each cell when applying conditional formatting to a range.
- General: (MBaker) Applied patch 7169 - Removed spurious PHP end tags (?>)