diff --git a/include/php_writeexcel/class.writeexcel_worksheet.inc.php b/include/php_writeexcel/class.writeexcel_worksheet.inc.php
index c2109723521c97a533831cc871da46a47e6b1782..6db3f5dbeca26412ba80dbadb5395363bbcd4b78 100644 (file)
/*
* Constructor. Creates a new Worksheet object from a BIFFwriter object
*/
- function writeexcel_worksheet($name, $index, &$activesheet, &$firstsheet,
- &$url_format, &$parser, $tempdir) {
+ function writeexcel_worksheet($name, $index, $activesheet, $firstsheet,
+ $url_format, $parser, $tempdir) {
$this->writeexcel_biffwriter();
$this->_name = $name;
$this->_index = $index;
- $this->_activesheet = &$activesheet;
- $this->_firstsheet = &$firstsheet;
- $this->_url_format = &$url_format;
- $this->_parser = &$parser;
+ $this->_activesheet = $activesheet;
+ $this->_firstsheet = $firstsheet;
+ $this->_url_format = $url_format;
+ $this->_parser = $parser;
$this->_tempdir = $tempdir;
$this->_ext_sheets = array();
$count=sizeof($chars);
for ($c=0;$c<sizeof($chars);$c++) {
- $char=&$chars[$c];
+ $char=$chars[$c];
$char = ord($char) << ++$i;
$low_15 = $char & 0x7fff;
$high_15 = $char & 0x7fff << 15;
$formula = preg_replace('/^=/', "", $formula);
# Parse the formula using the parser in Formula.pm
- $parser =& $this->_parser;
+ $parser = $this->_parser;
$formula = $parser->parse_formula($formula);
$formlen = strlen($formula); # Length of the binary string