From bc846277c47cb9980f3b6003ec702b7739568d15 Mon Sep 17 00:00:00 2001 From: Eskil Abrahamsen Blomfeldt Date: Mon, 7 Jun 2010 12:40:15 +0200 Subject: Remove unused function in tst_QGlyphs Static function which was never called, caused a warning with gcc --- tests/auto/qglyphs/tst_qglyphs.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/tests/auto/qglyphs/tst_qglyphs.cpp b/tests/auto/qglyphs/tst_qglyphs.cpp index 2a0e670..177b981 100644 --- a/tests/auto/qglyphs/tst_qglyphs.cpp +++ b/tests/auto/qglyphs/tst_qglyphs.cpp @@ -119,31 +119,6 @@ static QGlyphs make_dummy_indexes() return glyphs; } -static QGlyphs make_dummy_indexes2() -{ - QGlyphs glyphs; - - QVector glyphIndexes; - QVector positions; - QFont font; - font.setPointSize(26); - - glyphIndexes.append(4); - glyphIndexes.append(5); - glyphIndexes.append(6); - - positions.append(QPointF(7, 8)); - positions.append(QPointF(9, 10)); - positions.append(QPointF(11, 12)); - - glyphs.setFont(font); - glyphs.setGlyphIndexes(glyphIndexes); - glyphs.setPositions(positions); - - return glyphs; -} - - void tst_QGlyphs::copyConstructor() { QGlyphs glyphs; -- cgit v0.12