still trying to get number format to work

This commit is contained in:
willkensonh 2018-10-15 11:19:53 +11:00
parent 69a4ea81bf
commit 499f2a8236

View File

@ -121,7 +121,7 @@ class StyleRegistry extends \Box\Spout\Writer\Common\Manager\Style\StyleRegistry
$registeredFormatId = $this->styleIdToNumberFormatMappingTable[$registeredStyleId]; $registeredFormatId = $this->styleIdToNumberFormatMappingTable[$registeredStyleId];
$this->styleIdToNumberFormatMappingTable[$styleId] = $registeredFormatId; $this->styleIdToNumberFormatMappingTable[$styleId] = $registeredFormatId;
} else { } else {
$this->registeredFills[$serializedFormat] = $styleId; $this->registeredNumberFormats[$serializedFormat] = $styleId;
$this->styleIdToNumberFormatMappingTable[$styleId] = $this->fillIndex++; $this->styleIdToNumberFormatMappingTable[$styleId] = $this->fillIndex++;
} }
} else { } else {