* TDOMNodeList.GetCount speed up from alexx, fixes #6891

git-svn-id: trunk@3568 -
This commit is contained in:
florian 2006-05-18 20:20:55 +00:00
parent 5e4776f4ce
commit 1e3352a350

View File

@ -959,6 +959,11 @@ function TDOMNodeList.GetCount: LongWord;
var
child: TDOMNode;
begin
if not UseFilter then
begin
Result := Count;
exit;
end;
Result := 0;
child := node.FirstChild;
while Assigned(child) do