Browse Source

* Fix implicit inheritance in writing of content file.

git-svn-id: trunk@15866 -
marco 15 years ago
parent
commit
d4360154a7
1 changed files with 3 additions and 1 deletions
  1. 3 1
      utils/fpdoc/dglobals.pp

+ 3 - 1
utils/fpdoc/dglobals.pp

@@ -829,7 +829,9 @@ begin
         if Assigned(ClassDecl.AncestorType) then
         if Assigned(ClassDecl.AncestorType) then
           Write(ContentFile, ClassDecl.AncestorType.PathName)
           Write(ContentFile, ClassDecl.AncestorType.PathName)
         else if ClassDecl.ObjKind = okClass then
         else if ClassDecl.ObjKind = okClass then
-          Write(ContentFile, '.TObject');
+          Write(ContentFile, '#rtl.System.TObject')
+        else if ClassDecl.ObjKind = okInterface then
+          Write(ContentFile, '#rtl.System.IUnknown');
         if ClassDecl.Interfaces.Count>0 then
         if ClassDecl.Interfaces.Count>0 then
           begin
           begin
             for k:=0 to ClassDecl.Interfaces.count-1 do
             for k:=0 to ClassDecl.Interfaces.count-1 do