diff options
Diffstat (limited to 'src/xml_to_data/xml_to_data.cpp')
-rw-r--r-- | src/xml_to_data/xml_to_data.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml_to_data/xml_to_data.cpp b/src/xml_to_data/xml_to_data.cpp index 39eba60..8e14d81 100644 --- a/src/xml_to_data/xml_to_data.cpp +++ b/src/xml_to_data/xml_to_data.cpp @@ -11,11 +11,11 @@ #include <tqfile.h> #include <tqtextstream.h> -TQDomElement XmlToData::findUniqueElement(TQDomElement tqparent, const TQString &tag, +TQDomElement XmlToData::findUniqueElement(TQDomElement parent, const TQString &tag, const TQString &attribute, const TQString &value) const { TQDomElement element; - TQDomNode child = tqparent.firstChild(); + TQDomNode child = parent.firstChild(); while ( !child.isNull() ) { if ( child.nodeName()==tag && child.isElement() && (attribute.isEmpty() || child.toElement().attribute(attribute)==value) ) { |