diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-09-15 19:55:15 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-09-15 19:55:15 (GMT) |
commit | 8d986f5d3a2a40e40d2c9f584f921ed4cc4dd105 (patch) | |
tree | 80bc5b8e1fe89bbf6bd2fbbf2c640eb73313f626 /src/outputlist.cpp | |
parent | 0503d26ad7375502459a05a3bb6ff67f1223a77f (diff) | |
download | Doxygen-8d986f5d3a2a40e40d2c9f584f921ed4cc4dd105.zip Doxygen-8d986f5d3a2a40e40d2c9f584f921ed4cc4dd105.tar.gz Doxygen-8d986f5d3a2a40e40d2c9f584f921ed4cc4dd105.tar.bz2 |
Release-1.2.17-20020915
Diffstat (limited to 'src/outputlist.cpp')
-rw-r--r-- | src/outputlist.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/outputlist.cpp b/src/outputlist.cpp index 7374aff..f9aadd5 100644 --- a/src/outputlist.cpp +++ b/src/outputlist.cpp @@ -192,14 +192,23 @@ void OutputList::popGeneratorState() } void OutputList::parseDoc(const char *fileName,int startLine, - const char * clName,MemberDef * /*md*/, + const char * clName,MemberDef * md, const QCString &docStr) { - DocNode *root = validatingParseDoc(fileName,startLine,clName,docStr); - + int count=0; OutputGenerator *og=outputs->first(); while (og) { + if (og->isEnabled()) count++; + og=outputs->next(); + } + if (count==0) return; // no output formats enabled. + + DocNode *root = validatingParseDoc(fileName,startLine,clName,md,docStr); + + og=outputs->first(); + while (og) + { if (og->isEnabled()) og->printDoc(root); og=outputs->next(); } |