diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-05-19 16:19:01 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-05-19 16:20:08 +0200 |
commit | 49995ee35ff0b26e32303d77df619d3a2fbcb86b (patch) | |
tree | 59cac159b76d07a407149870a9f469251d99ac5c /tests/auto/qtextdocumentlayout | |
parent | a98ebc599ab7c99a6431d0420d3f0d238f37f6b1 (diff) |
Tests: Fix some compile warnings.
As they are now compiled by default.
Diffstat (limited to 'tests/auto/qtextdocumentlayout')
-rw-r--r-- | tests/auto/qtextdocumentlayout/tst_qtextdocumentlayout.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qtextdocumentlayout/tst_qtextdocumentlayout.cpp b/tests/auto/qtextdocumentlayout/tst_qtextdocumentlayout.cpp index a7a9c056d2..0757e4f2da 100644 --- a/tests/auto/qtextdocumentlayout/tst_qtextdocumentlayout.cpp +++ b/tests/auto/qtextdocumentlayout/tst_qtextdocumentlayout.cpp @@ -260,6 +260,7 @@ void tst_QTextDocumentLayout::floatingTablePageBreak() QTextTableFormat tableFormat; tableFormat.setPosition(QTextFrameFormat::FloatLeft); QTextTable *table = cursor.insertTable(50, 1, tableFormat); + Q_UNUSED(table); // Make height of document 2/3 of the table, fitting the table into two pages QSizeF documentSize = doc->size(); |