diff options
author | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-08-05 12:58:39 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-08-05 12:58:59 +0200 |
commit | f78bd88cbb8fd4c32e487eed716f089b6f5cfe28 (patch) | |
tree | fbc2d8aa17026e1120df35a4dafafa3b451dbf2b /tools/qdoc3 | |
parent | a34ec3bf9d6077bdc62cb48e116751788996fd99 (diff) |
Workaround a crash in qdoc.
Caused by an odd number of classes it seems.
Diffstat (limited to 'tools/qdoc3')
-rw-r--r-- | tools/qdoc3/htmlgenerator.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp index 6b15f96c73..df63138279 100644 --- a/tools/qdoc3/htmlgenerator.cpp +++ b/tools/qdoc3/htmlgenerator.cpp @@ -2097,6 +2097,11 @@ void HtmlGenerator::generateCompactList(const Node *relative, currentOffsetInParagraph[i] = 0; } + if (currentParagraphNo[i] >= NumParagraphs) { + qDebug() << "### Internal error ###" << __FILE__ << __LINE__; + currentParagraphNo[i] = NumParagraphs - 1; + } + out() << "<td align=\"right\">"; if (currentOffsetInParagraph[i] == 0) { // start a new paragraph |