summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3/cppcodemarker.cpp
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-02-25 16:56:51 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-02-25 16:56:51 (GMT)
commit2d89ee9cc302f7d381275a112e1c8a5de55ec286 (patch)
treeb193a1b310a3fffe102cdfacef5be7459f28cd0a /tools/qdoc3/cppcodemarker.cpp
parent734ba1f540aaedc4a3558268bd7350c0b15325a4 (diff)
downloadQt-2d89ee9cc302f7d381275a112e1c8a5de55ec286.zip
Qt-2d89ee9cc302f7d381275a112e1c8a5de55ec286.tar.gz
Qt-2d89ee9cc302f7d381275a112e1c8a5de55ec286.tar.bz2
Doc: Added a config file for creating Simplified Chinese docs directly.
Reviewed-by: Trust Me
Diffstat (limited to 'tools/qdoc3/cppcodemarker.cpp')
-rw-r--r--tools/qdoc3/cppcodemarker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qdoc3/cppcodemarker.cpp b/tools/qdoc3/cppcodemarker.cpp
index 657cfbb..3ff6ebe 100644
--- a/tools/qdoc3/cppcodemarker.cpp
+++ b/tools/qdoc3/cppcodemarker.cpp
@@ -145,7 +145,7 @@ QString CppCodeMarker::plainFullName(const Node *node, const Node *relative)
}
else {
QString fullName;
- for (;;) {
+ while (node) {
fullName.prepend(plainName(node));
if (node->parent() == relative || node->parent()->name().isEmpty())
break;