mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 10:39:09 +02:00
fpvectorial: Fix crash in GuessDocumentSize
This commit is contained in:
parent
0f3f2a8575
commit
bfc81e3972
@ -10432,6 +10432,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
lEntity := CurPage.GetEntity(I);
|
lEntity := CurPage.GetEntity(I);
|
||||||
TvEntity.InitializeRenderInfo(lRenderInfo, nil);
|
TvEntity.InitializeRenderInfo(lRenderInfo, nil);
|
||||||
|
lRenderInfo.Page := CurPage;
|
||||||
lEntity.ExpandBoundingBox(lRenderInfo, lLeft, lTop, lRight, lBottom);
|
lEntity.ExpandBoundingBox(lRenderInfo, lLeft, lTop, lRight, lBottom);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user