From 1c80138e2c47e9c608b56c32b5677fa6a46b4d6f Mon Sep 17 00:00:00 2001 From: dimitri 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