فهرست منبع

* 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
 begin
   DocNode:=Engine.FindDocNode(Package);
   DocNode:=Engine.FindDocNode(Package);
+  if not Assigned(DocNode) then
+    exit;
   if Assigned(DocNode) and not IsDescrNodeEmpty(DocNode.Descr) then
   if Assigned(DocNode) and not IsDescrNodeEmpty(DocNode.Descr) then
     begin
     begin
     StartSection(SDocOverview);
     StartSection(SDocOverview);