Fix to use of $updateFormulaCellReferences flag in setTitle() method for worksheets

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@89095 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2012-04-11 19:46:29 +00:00
parent b1b4c77893
commit 540aebe68b
1 changed files with 2 additions and 2 deletions

View File

@ -335,7 +335,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
{
// Set parent and title
$this->_parent = $pParent;
$this->setTitle($pTitle);
$this->setTitle($pTitle, FALSE);
$this->setSheetState(PHPExcel_Worksheet::SHEETSTATE_VISIBLE);
$this->_cellCollection = PHPExcel_CachedObjectStorageFactory::getInstance($this);
@ -812,7 +812,7 @@ class PHPExcel_Worksheet implements PHPExcel_IComparable
}
$altTitle = $pValue . ' ' . $i;
return $this->setTitle($altTitle);
return $this->setTitle($altTitle,$updateFormulaCellReferences);
}
// Set title