aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-06 22:59:54 +0200
committerAdrian Kummerlaender2014-08-06 22:59:54 +0200
commit5a38b9e11236c71245ca0609b54157630347e393 (patch)
tree90079415739b1578a5a30d3fb57e664a441a5873
parentf12fc4066e35b34d3ff504842bcbf513256c52ec (diff)
downloadInputXSLT-5a38b9e11236c71245ca0609b54157630347e393.tar
InputXSLT-5a38b9e11236c71245ca0609b54157630347e393.tar.gz
InputXSLT-5a38b9e11236c71245ca0609b54157630347e393.tar.bz2
InputXSLT-5a38b9e11236c71245ca0609b54157630347e393.tar.lz
InputXSLT-5a38b9e11236c71245ca0609b54157630347e393.tar.xz
InputXSLT-5a38b9e11236c71245ca0609b54157630347e393.tar.zst
InputXSLT-5a38b9e11236c71245ca0609b54157630347e393.zip
Fixed node list iteration in ResultNodeFacade
-rw-r--r--src/support/dom/result_node_facade.cc2
1 files changed, 1 insertions, 1 deletions
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));
}
}