mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 07:19:18 +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
|
// change the type
|
||||||
ApplyNeeded:=true;
|
ApplyNeeded:=true;
|
||||||
if not SourceChangeCache.Replace(gtNone,gtNone,
|
if not SourceChangeCache.Replace(gtNone,gtNone,
|
||||||
CurPos.StartPos,CurPos.EndPos,NewVarName)
|
CurPos.StartPos,CurPos.EndPos,VarType)
|
||||||
then begin
|
then begin
|
||||||
RaiseException('Unable to replace type');
|
RaiseException('Unable to replace type');
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user