From 84dc695cd534be6a58ae71ec7f2bcf3b6b5e9e64 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sat, 13 Jan 2007 10:35:09 +0000 Subject: Release-1.5.1-20070109 --- src/util.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v0.12