Minor fix to toArray() method for row indexing when the $returnCellRef argument is false

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@62185 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2010-10-12 21:34:04 +00:00
parent 6b54d5a103
commit 10634822fe

View File

@ -2130,7 +2130,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
$this->garbageCollect(); $this->garbageCollect();
// Loop through rows // Loop through rows
$r = -2; $r = -1;
$rowIterator = $this->getRowIterator(); $rowIterator = $this->getRowIterator();
foreach ($rowIterator as $row) { foreach ($rowIterator as $row) {
++$r; ++$r;