summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-10-08 15:47:24 (GMT)
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-10-08 15:50:04 (GMT)
commitf7e13aefc24b98299d8fd44cad60cc13b16e4114 (patch)
tree00cee8d30b2ca852fa28bcfc29781bd4a97ca9fb /tools
parentdbf0d8c50fce24d36dd5e6eac853a1242ad89455 (diff)
downloadQt-f7e13aefc24b98299d8fd44cad60cc13b16e4114.zip
Qt-f7e13aefc24b98299d8fd44cad60cc13b16e4114.tar.gz
Qt-f7e13aefc24b98299d8fd44cad60cc13b16e4114.tar.bz2
Fixed compile.
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/htmlgenerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp
index ed3a485..033c62c 100644
--- a/tools/qdoc3/htmlgenerator.cpp
+++ b/tools/qdoc3/htmlgenerator.cpp
@@ -698,7 +698,7 @@ int HtmlGenerator::generateAtom(const Atom *atom,
case Node::Typedef:
sections[Typedef].appendMember((Node*)node);
break;
- case Node::Function:
+ case Node::Function: {
const FunctionNode* fn = static_cast<const FunctionNode*>(node);
if (fn->isMacro())
sections[Macro].appendMember((Node*)node);
@@ -720,6 +720,7 @@ int HtmlGenerator::generateAtom(const Atom *atom,
sections[GlobalFunction].appendMember((Node*)node);
}
break;
+ }
case Node::Property:
sections[Property].appendMember((Node*)node);
break;