summaryrefslogtreecommitdiffstats
path: root/src/outputlist.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-09-15 19:55:15 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-09-15 19:55:15 (GMT)
commit8d986f5d3a2a40e40d2c9f584f921ed4cc4dd105 (patch)
tree80bc5b8e1fe89bbf6bd2fbbf2c640eb73313f626 /src/outputlist.cpp
parent0503d26ad7375502459a05a3bb6ff67f1223a77f (diff)
downloadDoxygen-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.cpp15
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();
}