Sfoglia il codice sorgente

* patch from Graeme that exists if a node is not assigned, mantis #26678

git-svn-id: trunk@28598 -
marco 11 anni fa
parent
commit
4102061e8a
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      utils/fpdoc/dwlinear.pp

+ 2 - 0
utils/fpdoc/dwlinear.pp

@@ -728,6 +728,8 @@ var
 
 begin
   DocNode:=Engine.FindDocNode(Package);
+  if not Assigned(DocNode) then
+    exit;
   if Assigned(DocNode) and not IsDescrNodeEmpty(DocNode.Descr) then
     begin
     StartSection(SDocOverview);