diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-13 09:39:44 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-08-13 09:39:44 (GMT) |
commit | 14f88af12bae98859eafe605ddb5f54029e44076 (patch) | |
tree | efb66419c908e366f94c40dcd637cc0e092a683e | |
parent | 3b8fea2f1f7f2e6a83a35626e6dec9d114a78c9e (diff) | |
download | Doxygen-14f88af12bae98859eafe605ddb5f54029e44076.zip Doxygen-14f88af12bae98859eafe605ddb5f54029e44076.tar.gz Doxygen-14f88af12bae98859eafe605ddb5f54029e44076.tar.bz2 |
Bug 734704 Sigsegv while generating XML output
-rw-r--r-- | src/fileparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileparser.cpp b/src/fileparser.cpp index 31434a8..1d78e1e 100644 --- a/src/fileparser.cpp +++ b/src/fileparser.cpp @@ -42,7 +42,7 @@ void FileParser::parseCode(CodeOutputInterface &codeOutIntf, QCString lineStr = input.mid(i,j-i); codeOutIntf.startCodeLine(showLineNumbers); if (showLineNumbers) codeOutIntf.writeLineNumber(0,0,0,lineNr); - codeOutIntf.codify(lineStr); + if (!lineStr.isEmpty()) codeOutIntf.codify(lineStr); codeOutIntf.endCodeLine(); lineNr++; i=j+1; |