summaryrefslogtreecommitdiffstats
path: root/tools/qdoc3
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-11-11 16:12:36 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-11-11 16:12:36 (GMT)
commit44523147cb5f3d934bc33e028dfb093edcd2802c (patch)
tree2bece64d734cb26a3f0d8d99092f803e4274aef4 /tools/qdoc3
parentdeddfa71077dfa333f095b4b163c05f309bc04c1 (diff)
downloadQt-44523147cb5f3d934bc33e028dfb093edcd2802c.zip
Qt-44523147cb5f3d934bc33e028dfb093edcd2802c.tar.gz
Qt-44523147cb5f3d934bc33e028dfb093edcd2802c.tar.bz2
Doc: Attempt to fix broken Xcode markup.
Reviewed-by: Trust Me To-be-reviewed-in: Qt Documentation Team repository
Diffstat (limited to 'tools/qdoc3')
-rw-r--r--tools/qdoc3/codemarker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qdoc3/codemarker.cpp b/tools/qdoc3/codemarker.cpp
index a9da841..c8c92ec 100644
--- a/tools/qdoc3/codemarker.cpp
+++ b/tools/qdoc3/codemarker.cpp
@@ -602,10 +602,10 @@ QString CodeMarker::macName(const Node *node, const QString &name)
}
if (node->name().isEmpty()) {
- return QLatin1Char('/') + myName;
+ return QLatin1Char('/') + protect(myName);
}
else {
- return plainFullName(node) + QLatin1Char('/') + myName;
+ return plainFullName(node) + QLatin1Char('/') + protect(myName);
}
}