* Patch from Mattias Gaertner to check for name when adding elements

git-svn-id: trunk@32728 -
This commit is contained in:
michael 2015-12-26 16:01:43 +00:00
parent 891aaa9732
commit 143acd2497

View File

@ -164,7 +164,7 @@ begin
begin
Result:=N as TDomElement
end
else
else if AElement.Name<>'' then
begin // N=NIL, PE might be nil.
Inc(ACount);
Result:=FClassTree.CreateElement(AElement.Name);