mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 05:39:29 +02:00
Converter: don't try to retype variables when there are no replacements.
git-svn-id: trunk@27328 -
This commit is contained in:
parent
772c10f63e
commit
8e81570b80
@ -317,9 +317,10 @@ begin
|
||||
exit;
|
||||
end;
|
||||
// Apply replacement types also to pascal source.
|
||||
if not CodeToolBoss.RetypeClassVariables(fPascalBuffer,
|
||||
if TypeReplacements.Tree.Count>0 then
|
||||
if not CodeToolBoss.RetypeClassVariables(fPascalBuffer,
|
||||
TLFMObjectNode(fLFMTree.Root).TypeName, TypeReplacements, false) then
|
||||
Result:=mrCancel;
|
||||
Result:=mrCancel;
|
||||
finally
|
||||
TypeReplacements.Free;
|
||||
PropReplacements.Free;
|
||||
|
Loading…
Reference in New Issue
Block a user