mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-13 19:46:31 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user