diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2007-01-13 10:35:09 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2007-01-13 10:35:09 (GMT) |
commit | 1c80138e2c47e9c608b56c32b5677fa6a46b4d6f (patch) | |
tree | abd9c1049358238744e40a962d34eb929ad74554 /src | |
parent | e94226c6a5506aafe8430cd317ec16c309675808 (diff) | |
download | Doxygen-1c80138e2c47e9c608b56c32b5677fa6a46b4d6f.zip Doxygen-1c80138e2c47e9c608b56c32b5677fa6a46b4d6f.tar.gz Doxygen-1c80138e2c47e9c608b56c32b5677fa6a46b4d6f.tar.bz2 |
Release-1.5.1-20070109
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index 553cfec..8b822a8 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -6132,6 +6132,7 @@ bool checkIfTypedef(Definition *scope,FileDef *fileScope,const char *n) QCString parseCommentAsText(const QString &doc,const QCString &fileName,int lineNr) { QString result; + if (doc.isEmpty()) return result.data(); QTextStream t(&result,IO_WriteOnly); DocNode *root = validatingParseDoc(fileName,lineNr,Doxygen::globalScope,0,doc,FALSE,FALSE); TextDocVisitor *visitor = new TextDocVisitor(t); |