mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 12:39:29 +02:00
IDE: DebugLn in TProject.UnitWithComponentClassName. For debugging issue #39488.
This commit is contained in:
parent
05382f4ddf
commit
889f82bb4d
@ -5551,9 +5551,11 @@ end;
|
||||
function TProject.UnitWithComponentClassName(const AClassName: string): TUnitInfo;
|
||||
begin
|
||||
Result := fFirst[uilWithComponent];
|
||||
while (Result<>nil)
|
||||
and (SysUtils.CompareText(Result.Component.ClassName, AClassName) <> 0) do
|
||||
while (Result<>nil) and (CompareText(Result.Component.ClassName, AClassName)<>0) do
|
||||
begin
|
||||
DebugLn('TProject.UnitWithComponentClassName: ', Result.Component.ClassName);
|
||||
Result := Result.fNext[uilWithComponent];
|
||||
end;
|
||||
end;
|
||||
|
||||
function TProject.UnitWithComponentName(AComponentName: String;
|
||||
|
Loading…
Reference in New Issue
Block a user