Skip to content

Commit 0ddaff3

Browse files
authored
Update Workbook.php
1 parent 4db909c commit 0ddaff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PhpSpreadsheet/Writer/Xlsx/Workbook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ private function writeCalcPr(XMLWriter $objWriter, bool $preCalculateFormulas =
157157
// because the file has changed
158158
$objWriter->writeAttribute('calcId', '999999');
159159
$objWriter->writeAttribute('calcMode', 'auto');
160-
// fullCalcOnLoad isn't needed if we arve calculating for the save
160+
// fullCalcOnLoad isn't needed if we will calculate before writing
161161
$objWriter->writeAttribute('calcCompleted', ($preCalculateFormulas) ? '1' : '0');
162162
$objWriter->writeAttribute('fullCalcOnLoad', ($preCalculateFormulas) ? '0' : '1');
163163
$objWriter->writeAttribute('forceFullCalc', ($preCalculateFormulas) ? '0' : '1');

0 commit comments

Comments
 (0)