diff --git a/components/codetools/codecompletiontool.pas b/components/codetools/codecompletiontool.pas index 6d451b820b..2b620460b4 100644 --- a/components/codetools/codecompletiontool.pas +++ b/components/codetools/codecompletiontool.pas @@ -8464,9 +8464,9 @@ begin if InclProcCall then begin ProcCode:=ExtractProcHead(ProcNode,[phpWithStart,phpAddClassname, phpWithVarModifiers,phpWithParameterNames, - phpWithResultType,phpWithCallingSpecs]); + phpWithResultType,phpWithCallingSpecs,phpWithEmptyParamList]); ProcCall:='inherited '+ExtractProcHead(ProcNode,[phpWithoutClassName, - phpWithParameterNames,phpWithoutParamTypes]); + phpWithParameterNames,phpWithoutParamTypes,phpWithEmptyParamList]); for i:=1 to length(ProcCall)-1 do if ProcCall[i]=';' then ProcCall[i]:=',';