Commit 84dc695c authored by Dimitri van Heesch's avatar Dimitri van Heesch

Release-1.5.1-20070109

parent 6306fc47
...@@ -6132,6 +6132,7 @@ bool checkIfTypedef(Definition *scope,FileDef *fileScope,const char *n) ...@@ -6132,6 +6132,7 @@ bool checkIfTypedef(Definition *scope,FileDef *fileScope,const char *n)
QCString parseCommentAsText(const QString &doc,const QCString &fileName,int lineNr) QCString parseCommentAsText(const QString &doc,const QCString &fileName,int lineNr)
{ {
QString result; QString result;
if (doc.isEmpty()) return result.data();
QTextStream t(&result,IO_WriteOnly); QTextStream t(&result,IO_WriteOnly);
DocNode *root = validatingParseDoc(fileName,lineNr,Doxygen::globalScope,0,doc,FALSE,FALSE); DocNode *root = validatingParseDoc(fileName,lineNr,Doxygen::globalScope,0,doc,FALSE,FALSE);
TextDocVisitor *visitor = new TextDocVisitor(t); TextDocVisitor *visitor = new TextDocVisitor(t);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment