FPSpreadsheet: Fix missing default return values when calculating drawing size
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9456 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
d0821bb784
commit
516e543ce3
@ -1502,6 +1502,12 @@ var
|
|||||||
ppi: Integer;
|
ppi: Integer;
|
||||||
u: TsSizeUnits;
|
u: TsSizeUnits;
|
||||||
begin
|
begin
|
||||||
|
// Default return values
|
||||||
|
ARow1 := 0; ARowOffs1 := 0.0;
|
||||||
|
ACol1 := 0; AColOffs1 := 0.0;
|
||||||
|
ARow2 := 0; ARowOffs2 := 0.0;
|
||||||
|
ACol2 := 0; AColOffs2 := 0.0;
|
||||||
|
|
||||||
// Abbreviations
|
// Abbreviations
|
||||||
ppi := ScreenPixelsPerInch;
|
ppi := ScreenPixelsPerInch;
|
||||||
u := FWorkbook.Units;
|
u := FWorkbook.Units;
|
||||||
|
Loading…
Reference in New Issue
Block a user