summaryrefslogtreecommitdiffstats
path: root/src/outputlist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-06-25 18:00:24 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-06-25 18:00:24 (GMT)
commit17c14fb5230cfc532577c32df1d10223534392d8 (patch)
treed1ce681120f6cf7c6aed4ba77feceafcc66cc853 /src/outputlist.cpp
parent80108293f1f4808c02d28d2d1620563437433a56 (diff)
downloadDoxygen-17c14fb5230cfc532577c32df1d10223534392d8.zip
Doxygen-17c14fb5230cfc532577c32df1d10223534392d8.tar.gz
Doxygen-17c14fb5230cfc532577c32df1d10223534392d8.tar.bz2
Release-1.3.2-20030625
Diffstat (limited to 'src/outputlist.cpp')
-rw-r--r--src/outputlist.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/outputlist.cpp b/src/outputlist.cpp
index 2946fe9..e68ef8c 100644
--- a/src/outputlist.cpp
+++ b/src/outputlist.cpp
@@ -197,6 +197,7 @@ void OutputList::parseDoc(const char *fileName,int startLine,
const char *exampleName,SectionDict *sections)
{
int count=0;
+ if (docStr.isEmpty()) return;
OutputGenerator *og=outputs->first();
while (og)
@@ -207,7 +208,7 @@ void OutputList::parseDoc(const char *fileName,int startLine,
if (count==0) return; // no output formats enabled.
DocNode *root=0;
- if (docStr.length()==0 || docStr.at(docStr.length()-1)=='\n')
+ if (docStr.at(docStr.length()-1)=='\n')
{
root = validatingParseDoc(fileName,startLine,
clName,md,docStr,isExample,exampleName,