summaryrefslogtreecommitdiffstats
path: root/src/xml
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-08-19 03:19:32 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-08-19 03:19:32 (GMT)
commit9f7f71160053b64a23abc472d9d9ddd5d9bb8b3d (patch)
tree22f60abbc45a5ef8e1beab0af8d9980134d914ad /src/xml
parentf792bae5b13ad68f846a2be1f002d8376f2daef8 (diff)
parentaf98f27a847688e53ab1d34b4a9c04bdc63fe3e1 (diff)
downloadQt-9f7f71160053b64a23abc472d9d9ddd5d9bb8b3d.zip
Qt-9f7f71160053b64a23abc472d9d9ddd5d9bb8b3d.tar.gz
Qt-9f7f71160053b64a23abc472d9d9ddd5d9bb8b3d.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt into kinetic-declarativeui
Conflicts: doc/src/index.qdoc doc/src/topics.qdoc src/gui/graphicsview/qgraphicsitem.cpp src/gui/graphicsview/qgraphicsitem.h src/gui/graphicsview/qgraphicsitem_p.h tests/auto/auto.pro
Diffstat (limited to 'src/xml')
-rw-r--r--src/xml/dom/qdom.cpp9
-rw-r--r--src/xml/sax/qxml.cpp2
2 files changed, 5 insertions, 6 deletions
diff --git a/src/xml/dom/qdom.cpp b/src/xml/dom/qdom.cpp
index a7dfaa9..f079851 100644
--- a/src/xml/dom/qdom.cpp
+++ b/src/xml/dom/qdom.cpp
@@ -1845,8 +1845,7 @@ QDomNodePrivate* QDomNodePrivate::removeChild(QDomNodePrivate* oldChild)
oldChild->prev = 0;
// We are no longer interested in the old node
- if (oldChild)
- oldChild->ref.deref();
+ oldChild->ref.deref();
return oldChild;
}
@@ -1939,7 +1938,7 @@ void QDomNodePrivate::setLocation(int lineNumber, int columnNumber)
\inmodule QtXml
\ingroup xml-tools
- \mainclass
+
Many functions in the DOM return a QDomNode.
@@ -4355,7 +4354,7 @@ bool QDomAttr::specified() const
QDomElement QDomAttr::ownerElement() const
{
Q_ASSERT(impl->parent());
- if (!impl || !impl->parent()->isElement())
+ if (!impl->parent()->isElement())
return QDomElement();
return QDomElement((QDomElementPrivate*)(impl->parent()));
}
@@ -6523,7 +6522,7 @@ void QDomDocumentPrivate::saveDocument(QTextStream& s, const int indent, QDomNod
\brief The QDomDocument class represents an XML document.
\inmodule QtXml
- \mainclass
+
\ingroup xml-tools
The QDomDocument class represents the entire XML document.
diff --git a/src/xml/sax/qxml.cpp b/src/xml/sax/qxml.cpp
index 0f17231..b8af8d1 100644
--- a/src/xml/sax/qxml.cpp
+++ b/src/xml/sax/qxml.cpp
@@ -2986,7 +2986,7 @@ void QXmlSimpleReaderPrivate::initIncrementalParsing()
\inmodule QtXml
\ingroup xml-tools
- \mainclass
+
This XML reader is suitable for a wide range of applications. It
is able to parse well-formed XML and can report the namespaces of