diff options
Diffstat (limited to 'src/tools/qdoc/ditaxmlgenerator.cpp')
-rw-r--r-- | src/tools/qdoc/ditaxmlgenerator.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/tools/qdoc/ditaxmlgenerator.cpp b/src/tools/qdoc/ditaxmlgenerator.cpp index b5d52bb7fa..f912c3b909 100644 --- a/src/tools/qdoc/ditaxmlgenerator.cpp +++ b/src/tools/qdoc/ditaxmlgenerator.cpp @@ -2720,6 +2720,15 @@ void DitaXmlGenerator::generateAnnotatedList(const Node* relative, { if (nodes.isEmpty()) return; + bool allInternal = true; + foreach (const Node* node, nodes) { + if (!node->isInternal() && node->status() != Node::Obsolete) { + allInternal = false; + } + } + if (allInternal) + return; + writeStartTag(DT_table); xmlWriter().writeAttribute("outputclass","annotated"); writeStartTag(DT_tgroup); @@ -2727,7 +2736,7 @@ void DitaXmlGenerator::generateAnnotatedList(const Node* relative, writeStartTag(DT_tbody); foreach (const Node* node, nodes) { - if (node->status() == Node::Obsolete) + if (node->isInternal() || node->status() == Node::Obsolete) continue; writeStartTag(DT_row); |