codetools: fixed double init, thx to Paul

git-svn-id: trunk@21552 -
This commit is contained in:
mattias 2009-09-03 08:21:31 +00:00
parent aa8825df16
commit 99b710e724

View File

@ -3090,7 +3090,7 @@ begin
{$IFDEF CTDEBUG}
DebugLn('TCodeToolManager.GetCompatiblePublishedMethods A ',Code.Filename,' Classname=',AClassname);
{$ENDIF}
Result:=InitCurCodeTool(Code);
Result:=false;
if not InitCurCodeTool(Code) then exit;
try
Result:=FCurCodeTool.GetCompatiblePublishedMethods(UpperCaseStr(AClassName),