summaryrefslogtreecommitdiff
path: root/libopie2/opiecore/xmltree.cc
Side-by-side diff
Diffstat (limited to 'libopie2/opiecore/xmltree.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiecore/xmltree.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/libopie2/opiecore/xmltree.cc b/libopie2/opiecore/xmltree.cc
index 27db5b3..059791b 100644
--- a/libopie2/opiecore/xmltree.cc
+++ b/libopie2/opiecore/xmltree.cc
@@ -18,6 +18,7 @@
*/
+#include <opie2/xmltree.h>
+
#include <qpe/stringutil.h>
-#include <opie/xmltree.h>
#include <qxml.h>
@@ -87,5 +88,5 @@ void XMLElement::insertAfter( XMLElement *newChild, XMLElement *refChild )
newChild->m_prev = refChild;
newChild->m_next = next;
-
+
if ( next )
next->m_prev = newChild;
@@ -96,5 +97,5 @@ QString XMLElement::attribute( const QString &attr ) const
AttributeMap::ConstIterator it = m_attributes.find( attr );
if ( it == m_attributes.end() )
- return QString::null;
+ return QString::null;
return it.data();
}
@@ -120,5 +121,5 @@ void XMLElement::insertBefore( XMLElement *newChild, XMLElement *refChild )
refChild->m_prev = newChild;
-
+
newChild->m_prev = prev;
newChild->m_next = refChild;
@@ -282,5 +283,5 @@ XMLElement *XMLElement::namedItem( const QString &name )
return e;
- return 0;
+ return 0;
}