summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorAndreas Kling <andreas.kling@nokia.com>2010-06-22 08:06:43 (GMT)
committerAndreas Kling <andreas.kling@nokia.com>2010-06-22 08:06:43 (GMT)
commit9c7d10686f73aeddcff73a88c47aac9735f5b3ad (patch)
tree22c052cba1e9eaa9195d248d4ce33fb7b0885d50 /tools/qdoc3
parent155980e2e983f1f567227839bc0712b4e3221700 (diff)
downloadQt-9c7d10686f73aeddcff73a88c47aac9735f5b3ad.zip
Qt-9c7d10686f73aeddcff73a88c47aac9735f5b3ad.tar.gz
Qt-9c7d10686f73aeddcff73a88c47aac9735f5b3ad.tar.bz2
qdoc3: Build fix for regression in f321a3f2b1e
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/ditaxmlgenerator.cpp6
-rw-r--r--tools/qdoc3/ditaxmlgenerator.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/qdoc3/ditaxmlgenerator.cpp b/tools/qdoc3/ditaxmlgenerator.cpp
index aa4f304..e860330 100644
--- a/tools/qdoc3/ditaxmlgenerator.cpp
+++ b/tools/qdoc3/ditaxmlgenerator.cpp
@@ -4588,7 +4588,7 @@ void DitaXmlGenerator::writeFunctions(const Section& s,
NodeList::ConstIterator m = s.members.begin();
while (m != s.members.end()) {
if ((*m)->type() == Node::Function) {
- FunctionNode* fn = static_cast<const FunctionNode*>(*m);
+ const FunctionNode* fn = static_cast<const FunctionNode*>(*m);
writer.writeStartElement(CXXFUNCTION);
writer.writeAttribute("id",fn->guid());
writer.writeStartElement(APINAME);
@@ -4696,7 +4696,7 @@ void DitaXmlGenerator::writeFunctions(const Section& s,
}
}
-void DitaXmlGenerator::writeParameters(FunctionNode* fn, CodeMarker* marker)
+void DitaXmlGenerator::writeParameters(const FunctionNode* fn, CodeMarker* marker)
{
const QList<Parameter>& parameters = fn->parameters();
if (!parameters.isEmpty()) {
@@ -4735,7 +4735,7 @@ void DitaXmlGenerator::writeEnumerations(const Section& s,
NodeList::ConstIterator m = s.members.begin();
while (m != s.members.end()) {
if ((*m)->type() == Node::Enum) {
- EnumNode* en = static_cast<const EnumNode*>(*m);
+ const EnumNode* en = static_cast<const EnumNode*>(*m);
writer.writeStartElement(CXXENUMERATION);
writer.writeAttribute("id",en->guid());
writer.writeStartElement(APINAME);
diff --git a/tools/qdoc3/ditaxmlgenerator.h b/tools/qdoc3/ditaxmlgenerator.h
index e8ad8ba..fb9498c 100644
--- a/tools/qdoc3/ditaxmlgenerator.h
+++ b/tools/qdoc3/ditaxmlgenerator.h
@@ -117,7 +117,7 @@ class DitaXmlGenerator : public PageGenerator
void writeFunctions(const Section& s,
const ClassNode* cn,
CodeMarker* marker);
- void writeParameters(FunctionNode* fn, CodeMarker* marker);
+ void writeParameters(const FunctionNode* fn, CodeMarker* marker);
void writeNestedClasses(const Section& s,
const ClassNode* cn,
CodeMarker* marker);