qdoc: Add simple return types such as void to output.
authorCasper van Donderen <casper.vandonderen@nokia.com>
Wed, 28 Mar 2012 12:29:09 +0000 (14:29 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Mar 2012 21:15:32 +0000 (23:15 +0200)
Change-Id: I2c9b2bc982f9fa3390a7b5bd322df9e015e53824
Reviewed-by: Martin Smith <martin.smith@nokia.com>
src/tools/qdoc/ditaxmlgenerator.cpp

index 47db5c8..74dfe14 100644 (file)
@@ -4976,6 +4976,11 @@ void DitaXmlGenerator::replaceTypesWithLinks(const Node* n,
                     else
                         addLink(linkForNode(tn,parent),arg,DT_apiRelation);
                 }
+                else {
+                    // Write simple arguments, like void and bool,
+                    // which do not have a Qt defined target.
+                    writeCharacters(arg.toString());
+                }
             }
         }
         else {