ide: find references: uses with ampersand

This commit is contained in:
mattias 2025-02-13 08:53:32 +01:00
parent fb03756b41
commit 1024bbc9e4

View File

@ -249,7 +249,7 @@ var
// renaming a uses -> rename the unit
// find unit
Result:=false;
aUnitName:=DeclTool.ExtractUsedUnitName(DeclNode,@InFilename);
aUnitName:=RemoveAmpersands(DeclTool.ExtractUsedUnitName(DeclNode,@InFilename));
if aUnitName='' then begin
Err(20250206143851,'ExtractUsedUnitName failed');
exit;