mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 19:35:58 +02:00
codetools: TStandardCodeTool.RenamePublishedVariable fixed renaming type
git-svn-id: trunk@13510 -
This commit is contained in:
parent
b0ad5fd977
commit
a6358840d5
@ -4182,7 +4182,7 @@ begin
|
||||
// change the type
|
||||
ApplyNeeded:=true;
|
||||
if not SourceChangeCache.Replace(gtNone,gtNone,
|
||||
CurPos.StartPos,CurPos.EndPos,NewVarName)
|
||||
CurPos.StartPos,CurPos.EndPos,VarType)
|
||||
then begin
|
||||
RaiseException('Unable to replace type');
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user