From 5a38b9e11236c71245ca0609b54157630347e393 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 6 Aug 2014 22:59:54 +0200 Subject: Fixed node list iteration in ResultNodeFacade --- src/support/dom/result_node_facade.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/support/dom/result_node_facade.cc b/src/support/dom/result_node_facade.cc index c5829c5..eaddeed 100644 --- a/src/support/dom/result_node_facade.cc +++ b/src/support/dom/result_node_facade.cc @@ -74,7 +74,7 @@ void ResultNodeFacade::setContent(xercesc::DOMNode* node) { } void ResultNodeFacade::setContent(xercesc::DOMNodeList* nodes) { - for ( std::size_t index = 0; index != nodes->getLength(); ++index ) { + for ( std::size_t index = 0; index < nodes->getLength(); ++index ) { this->setContent(nodes->item(index)); } } -- cgit v1.2.3