mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 23:49:07 +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;
|
function TFPReportElement.GetReportPage: TFPReportCustomPage;
|
||||||
begin
|
begin
|
||||||
Result := Band.Page;
|
if Assigned(Band) then
|
||||||
|
Result := Band.Page
|
||||||
|
else
|
||||||
|
Result:=Nil;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TFPReportElement.SaveDataToNames;
|
procedure TFPReportElement.SaveDataToNames;
|
||||||
|
Loading…
Reference in New Issue
Block a user