summaryrefslogtreecommitdiffstats
path: root/tests/auto/qglyphs
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-06-07 12:40:15 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-06-07 13:59:41 +0200
commitbc846277c47cb9980f3b6003ec702b7739568d15 (patch)
tree2def9eb67810dff22b1bf5c9db8e44b3eba5b3fd /tests/auto/qglyphs
parent0d7e6839172f5feae2c81c5c552f685520504afc (diff)
Remove unused function in tst_QGlyphs
Static function which was never called, caused a warning with gcc
Diffstat (limited to 'tests/auto/qglyphs')
-rw-r--r--tests/auto/qglyphs/tst_qglyphs.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/auto/qglyphs/tst_qglyphs.cpp b/tests/auto/qglyphs/tst_qglyphs.cpp
index 2a0e6701fa..177b981b15 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<quint32> glyphIndexes;
- QVector<QPointF> 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;