summaryrefslogtreecommitdiffstats
path: root/tests/auto/qglyphs
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-06-07 10:40:15 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2010-06-07 11:59:41 (GMT)
commitbc846277c47cb9980f3b6003ec702b7739568d15 (patch)
tree2def9eb67810dff22b1bf5c9db8e44b3eba5b3fd /tests/auto/qglyphs
parent0d7e6839172f5feae2c81c5c552f685520504afc (diff)
downloadQt-bc846277c47cb9980f3b6003ec702b7739568d15.zip
Qt-bc846277c47cb9980f3b6003ec702b7739568d15.tar.gz
Qt-bc846277c47cb9980f3b6003ec702b7739568d15.tar.bz2
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 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<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;