Преглед изворни кода

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

git-svn-id: trunk@28598 -
marco пре 11 година
родитељ
комит
4102061e8a
1 измењених фајлова са 2 додато и 0 уклоњено
  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);