Default row style should only apply to existing cells

This commit is contained in:
Adrien Loison committed 2017-11-05 12:17:45 +01:00
1 parent 727a90fd06
commit ca5962271e
5 files changed
+48 -17

No files matched your search

@@ -174,8 +174,8 @@ EOD;
{
// Apply styles - the row style is merged at this point
$cell->applyStyle($rowStyle);
$this->styleManager->applyExtraStylesIfNeeded($cell);
$registeredStyle = $this->styleManager->registerStyle($cell->getStyle());
$newCellStyle = $this->styleManager->applyExtraStylesIfNeeded($cell);
$registeredStyle = $this->styleManager->registerStyle($newCellStyle);
return $this->getCellXML($rowIndex, $cellIndex, $cell, $registeredStyle->getId());
}