diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2007-01-13 10:35:09 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2007-01-13 10:35:09 (GMT) |
commit | 84dc695cd534be6a58ae71ec7f2bcf3b6b5e9e64 (patch) | |
tree | abd9c1049358238744e40a962d34eb929ad74554 /src | |
parent | 6306fc4794e01572258ac9642d3a1f9351123908 (diff) | |
download | Doxygen-84dc695cd534be6a58ae71ec7f2bcf3b6b5e9e64.zip Doxygen-84dc695cd534be6a58ae71ec7f2bcf3b6b5e9e64.tar.gz Doxygen-84dc695cd534be6a58ae71ec7f2bcf3b6b5e9e64.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); |