浏览代码

* 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);