From 7537dc28fb5601bf723058bba3dee0ec641669f2 Mon Sep 17 00:00:00 2001 From: Bob Jamison Date: Thu, 4 May 2006 01:35:23 +0000 Subject: Remove warnings (bzr r719) --- src/dom/minidom.cpp | 10 +++++----- src/dom/minidom.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/dom/minidom.cpp b/src/dom/minidom.cpp index 6038b7dc5..0a5001eaa 100644 --- a/src/dom/minidom.cpp +++ b/src/dom/minidom.cpp @@ -24,7 +24,7 @@ void Element::findElementsRecursive(std::vector&res, const DOMString { if (getName() == name) res.push_back(this); - for (int i=0; ifindElementsRecursive(res, name); } @@ -37,7 +37,7 @@ std::vector Element::findElements(const DOMString &name) DOMString Element::getAttribute(const DOMString &name) { - for (int i=0 ; iwriteIndentedRecursive(f, indent+2); //Closing tag diff --git a/src/dom/minidom.h b/src/dom/minidom.h index 9451691ff..df8cca881 100644 --- a/src/dom/minidom.h +++ b/src/dom/minidom.h @@ -112,7 +112,7 @@ public: virtual ~Element() { - for (int i=0 ; i