diff options
author | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-08-05 10:58:39 (GMT) |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@nokia.com> | 2009-08-05 10:58:59 (GMT) |
commit | f78bd88cbb8fd4c32e487eed716f089b6f5cfe28 (patch) | |
tree | fbc2d8aa17026e1120df35a4dafafa3b451dbf2b /tools | |
parent | a34ec3bf9d6077bdc62cb48e116751788996fd99 (diff) | |
download | Qt-f78bd88cbb8fd4c32e487eed716f089b6f5cfe28.zip Qt-f78bd88cbb8fd4c32e487eed716f089b6f5cfe28.tar.gz Qt-f78bd88cbb8fd4c32e487eed716f089b6f5cfe28.tar.bz2 |
Workaround a crash in qdoc.
Caused by an odd number of classes it seems.
Diffstat (limited to 'tools')
-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 6b15f96..df63138 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 |