diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-10-13 08:18:41 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-10-13 08:18:41 (GMT) |
commit | e4f69ae9bd749db3defababa226b4d28051558ce (patch) | |
tree | 91867acef44a8f2e86f05b03fd15cc6f8b6eb4d0 /tools | |
parent | b4ddf0420db30098274986612ca3e8951ef18e2e (diff) | |
download | Qt-e4f69ae9bd749db3defababa226b4d28051558ce.zip Qt-e4f69ae9bd749db3defababa226b4d28051558ce.tar.gz Qt-e4f69ae9bd749db3defababa226b4d28051558ce.tar.bz2 |
qdoc: Fix const problem.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qdoc3/ditaxmlgenerator.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qdoc3/ditaxmlgenerator.cpp b/tools/qdoc3/ditaxmlgenerator.cpp index 9e41a00..ec82344 100644 --- a/tools/qdoc3/ditaxmlgenerator.cpp +++ b/tools/qdoc3/ditaxmlgenerator.cpp @@ -4412,7 +4412,7 @@ void DitaXmlGenerator::generateDetailedQmlMember(const Node* node, CodeMarker* marker) { QString marked; - QmlPropertyNode* qpn = 0; + const QmlPropertyNode* qpn = 0; if (node->subType() == Node::QmlPropertyGroup) { const QmlPropGroupNode* qpgn = static_cast<const QmlPropGroupNode*>(node); NodeList::ConstIterator p = qpgn->childNodes().begin(); @@ -4421,7 +4421,7 @@ void DitaXmlGenerator::generateDetailedQmlMember(const Node* node, if ((*p)->type() == Node::QmlProperty) { qpn = static_cast<const QmlPropertyNode*>(*p); xmlWriter().writeStartElement("li"); - writeGuidAttribute(qpn); + writeGuidAttribute((Node*)qpn); QString attr; if (!qpn->isWritable(myTree)) attr = "read-only"; |