mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-02-08 17:36:56 +01:00
LazReport, renamed argument to really check for matching classref
git-svn-id: trunk@40010 -
This commit is contained in:
parent
a44c28c6d8
commit
d3275a4488
@ -1563,14 +1563,14 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
function frGetExportFilterIndex(ClassRef: TfrExportFilterClass; const AFilterExt:string): Integer;
|
||||
function frGetExportFilterIndex(AClassRef: TfrExportFilterClass; const AFilterExt:string): Integer;
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
result := -1;
|
||||
for i:=0 to Length(frFilters)-1 do
|
||||
with frFilters[i] do
|
||||
if (ClassRef=ClassRef) and (FilterExt=AFilterExt) then
|
||||
if (ClassRef=AClassRef) and (FilterExt=AFilterExt) then
|
||||
begin
|
||||
result := i;
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user