killmenow

This commit is contained in:
willkensonh 2018-10-15 11:34:09 +11:00
parent 3a08c2cb3e
commit e31558771c

View File

@ -122,7 +122,7 @@ class StyleRegistry extends \Box\Spout\Writer\Common\Manager\Style\StyleRegistry
$this->styleIdToNumberFormatMappingTable[$styleId] = $registeredFormatId;
} else {
$this->registeredNumberFormats[$serializedFormat] = $styleId;
$this->styleIdToNumberFormatMappingTable[$styleId] = $this->fillIndex++;
$this->styleIdToNumberFormatMappingTable[$styleId] = count($this->registeredNumberFormats);
}
} else {
// The fillId maps a style to a fill declaration