diff --git a/components/fpspreadsheet/xlsxooxml.pas b/components/fpspreadsheet/xlsxooxml.pas index 170b39350..6c2f05ca7 100755 --- a/components/fpspreadsheet/xlsxooxml.pas +++ b/components/fpspreadsheet/xlsxooxml.pas @@ -213,13 +213,11 @@ begin ' ' + LineEnding + ' ' + LineEnding; + FWorkbook := FWorkbook + ' ' + LineEnding; for i := 1 to AData.GetWorksheetCount do - begin FWorkbook := FWorkbook + - ' ' + LineEnding + - Format(' ', [i, i, i+2]) + LineEnding + - ' ' + LineEnding; - end; + Format(' ', [i, i, i+2]) + LineEnding; + FWorkbook := FWorkbook + ' ' + LineEnding; FWorkbook := FWorkbook + ' ' + LineEnding +