Skip to content

Commit 8609b78

Browse files
committed
Eliminate Dead Code
1 parent d770012 commit 8609b78

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/PhpSpreadsheet/Writer/Ods/Content.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ private function writeCells(XMLWriter $objWriter, RowCellIterator $cells): void
197197
/** @var Cell $cell */
198198
$column = Coordinate::columnIndexFromString($cell->getColumn()) - 1;
199199
$attributes = $cell->getFormulaAttributes() ?? [];
200-
$coordinate = $cell->getCoordinate();
201200

202201
$this->writeCellSpan($objWriter, $column, $prevColumn);
203202
$objWriter->startElement('table:table-cell');

src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,8 +1492,6 @@ private function writeCellFormula(XMLWriter $objWriter, string $cellValue, Cell
14921492
} else {
14931493
$ref = $coordinate;
14941494
}
1495-
$thisRow = $cell->getRow();
1496-
$newColumn = $thisColumn = $cell->getColumn();
14971495
if (is_array($calculatedValue)) {
14981496
$attributes['t'] = 'array';
14991497
}

0 commit comments

Comments
 (0)