You've already forked lazarus-ccr
fpspreadsheet: Undo unintentional change of xlsbiff5 in previous commit
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3900 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -387,7 +387,6 @@ begin
|
||||
CurStreamPos := AStream.Position;
|
||||
|
||||
case RecordType of
|
||||
|
||||
INT_EXCEL_ID_BLANK : ReadBlank(AStream);
|
||||
INT_EXCEL_ID_BOOLERROR : ReadBool(AStream);
|
||||
INT_EXCEL_ID_MULBLANK : ReadMulBlank(AStream);
|
||||
@ -408,7 +407,7 @@ begin
|
||||
INT_EXCEL_ID_BOF : ;
|
||||
INT_EXCEL_ID_EOF : SectionEOF := True;
|
||||
|
||||
{$IFDEF FPSPREADDEBUG} // Only write out if debugging
|
||||
{$IFDEF FPSPREADDEBUG} // Only write out if debugging
|
||||
else
|
||||
// Show unsupported record types to console.
|
||||
case RecordType of
|
||||
@ -445,7 +444,7 @@ begin
|
||||
else
|
||||
WriteLn(format('Record type: %.4X Record Size: %.4X',[RecordType,RecordSize]));
|
||||
end;
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
// Make sure we are in the right position for the next record
|
||||
@ -749,6 +748,9 @@ begin
|
||||
|
||||
// Final preparations
|
||||
Inc(FCurrentWorksheet);
|
||||
if FCurrentWorksheet = FWorksheetNames.Count then BIFF5EOF := True;
|
||||
// It can happen in files written by Office97 that the OLE directory is
|
||||
// at the end of the file.
|
||||
end;
|
||||
|
||||
if not FPaletteFound then
|
||||
|
Reference in New Issue
Block a user