Explorar el Código

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

git-svn-id: trunk@28598 -
marco hace 11 años
padre
commit
4102061e8a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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);