LazReport, make lrOfficeImport package compile with previous fpSpreadSheet versions than trunk version, issue #26728

git-svn-id: trunk@46255 -
This commit is contained in:
jesus 2014-09-19 17:23:12 +00:00
parent 48591ac3cc
commit 0813f5c4ce

View File

@ -138,11 +138,11 @@ begin
FWorksheet := FWorkbook.GetFirstWorksheet; FWorksheet := FWorkbook.GetFirstWorksheet;
Y:=0; Y:=0;
for Row:=0 to FWorksheet.GetLastRowIndex(False)-1 do for Row:=0 to FWorksheet.GetLastRowIndex-1 do
begin begin
X:=0; X:=0;
DY:=CalcRowHeight(FWorksheet.GetRowHeight(Row)); DY:=CalcRowHeight(FWorksheet.GetRowHeight(Row));
for Col:=0 to FWorksheet.GetLastColIndex(false)-1 do for Col:=0 to FWorksheet.GetLastColIndex-1 do
begin begin
Cell := FWorksheet.FindCell(Row, Col); Cell := FWorksheet.FindCell(Row, Col);
if Assigned(Cell) then if Assigned(Cell) then