mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 01:39:27 +02:00
* Avoid AV acessing page if band not assigned
git-svn-id: trunk@38930 -
This commit is contained in:
parent
7a3b96c1a5
commit
75e4be46f9
@ -6940,7 +6940,10 @@ end;
|
||||
|
||||
function TFPReportElement.GetReportPage: TFPReportCustomPage;
|
||||
begin
|
||||
Result := Band.Page;
|
||||
if Assigned(Band) then
|
||||
Result := Band.Page
|
||||
else
|
||||
Result:=Nil;
|
||||
end;
|
||||
|
||||
procedure TFPReportElement.SaveDataToNames;
|
||||
|
Loading…
Reference in New Issue
Block a user