mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 08:57:47 +02:00
LazActiveX: turn some "var" parameters into normal parameters.
git-svn-id: trunk@44520 -
This commit is contained in:
parent
feef6c7cb2
commit
61b34e74a9
@ -71,7 +71,6 @@ implementation
|
|||||||
uses typelib;
|
uses typelib;
|
||||||
|
|
||||||
procedure ImpTypeLib(Sender: TObject);
|
procedure ImpTypeLib(Sender: TObject);
|
||||||
|
|
||||||
var
|
var
|
||||||
TLI: TTypeLibImporter;
|
TLI: TTypeLibImporter;
|
||||||
bPackage, bActiveX, bRecurse: boolean;
|
bPackage, bActiveX, bRecurse: boolean;
|
||||||
@ -178,7 +177,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function ReadDefaultVal(path: string; var reg: TRegistry): string;
|
function ReadDefaultVal(path: string; reg: TRegistry): string;
|
||||||
begin
|
begin
|
||||||
if reg.OpenKeyReadOnly(path) then
|
if reg.OpenKeyReadOnly(path) then
|
||||||
begin
|
begin
|
||||||
@ -187,7 +186,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function EnumKeys(path: string; var reg: TRegistry; var lst: TStringList): boolean;
|
function EnumKeys(path: string; reg: TRegistry; lst: TStringList): boolean;
|
||||||
begin
|
begin
|
||||||
Result := False;
|
Result := False;
|
||||||
if reg.OpenKeyReadOnly(path) then
|
if reg.OpenKeyReadOnly(path) then
|
||||||
|
Loading…
Reference in New Issue
Block a user