git-svn-id: trunk@54796 -
This commit is contained in:
michael 2017-05-01 18:46:13 +00:00
parent 61bf5521fc
commit fb2f0161f5

View File

@ -909,7 +909,8 @@ begin
While (Result=Nil) and (ANode<>Nil) do
begin
ANode:=ANode.Parent;
Result:=ANode.GetNextSibling;
if assigned(ANode) then
Result:=ANode.GetNextSibling;
end;
end;