* another small bug caught by -CROriot

git-svn-id: trunk@23763 -
This commit is contained in:
marco 2013-03-09 23:37:59 +00:00
parent 39670e3454
commit cb55b2d2cf

View File

@ -2513,7 +2513,7 @@ begin
else if AElement.ClassType = TPasVariable then
CreateVarPageBody(TPasVariable(AElement))
else if AElement.InheritsFrom(TPasProcedureBase) then
CreateProcPageBody(TPasProcedure(AElement))
CreateProcPageBody(TPasProcedureBase(AElement))
else if AElement.ClassType = TTopicELement then
CreateTopicPageBody(TTopicElement(AElement))
end;