@@ -380,8 +380,8 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr
380
380
*
381
381
* @param string $name The name of the new worksheet
382
382
* @param integer $index The index of the new worksheet
383
- * @param mixed $activesheet The current activesheet of the workbook we belong to
384
- * @param mixed $firstsheet The first worksheet in the workbook we belong to
383
+ * @param mixed & $activesheet The current activesheet of the workbook we belong to
384
+ * @param mixed & $firstsheet The first worksheet in the workbook we belong to
385
385
* @param int &$str_total Reference to the total number of strings in the workbook
386
386
* @param int &$str_unique Reference to the number of unique strings in the workbook
387
387
* @param array &$str_table Reference to the array containing all the unique strings in the workbook
@@ -391,8 +391,8 @@ class Spreadsheet_Excel_Writer_Worksheet extends Spreadsheet_Excel_Writer_BIFFwr
391
391
* @access private
392
392
*/
393
393
public function __construct ($ BIFF_version , $ name ,
394
- $ index , $ activesheet ,
395
- $ firstsheet , &$ str_total ,
394
+ $ index , & $ activesheet ,
395
+ & $ firstsheet , &$ str_total ,
396
396
&$ str_unique , &$ str_table ,
397
397
$ url_format , $ parser ,
398
398
$ tmp_dir )
@@ -405,8 +405,8 @@ public function __construct($BIFF_version, $name,
405
405
406
406
$ this ->name = $ name ;
407
407
$ this ->index = $ index ;
408
- $ this ->activesheet = $ activesheet ;
409
- $ this ->firstsheet = $ firstsheet ;
408
+ $ this ->activesheet = & $ activesheet ;
409
+ $ this ->firstsheet = & $ firstsheet ;
410
410
// _str_total _str_unique _str_table - are actual references
411
411
// everything breaks if they're not
412
412
$ this ->_str_total = &$ str_total ;
0 commit comments