diff options
author | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-06-27 14:18:09 +0200 |
---|---|---|
committer | Lars Schmertmann <Lars.Schmertmann@governikus.de> | 2020-07-07 11:51:48 +0200 |
commit | 6ce2f3f26bf08b4c6952f492a3731eb4fe5a42bc (patch) | |
tree | 727427eb4c603e74954d4da462484ea7bf5c65bb /src/gui/text/qfontengine.cpp | |
parent | d9cc1499954829faf9486fb72056e29f1bad58e3 (diff) |
Add ; to Q_UNUSED
This is required to remove the ; from the macro with Qt 6.
Task-number: QTBUG-82978
Change-Id: I3f0b6717956ca8fa486bed9817b89dfa19f5e0e1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/gui/text/qfontengine.cpp')
-rw-r--r-- | src/gui/text/qfontengine.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/text/qfontengine.cpp b/src/gui/text/qfontengine.cpp index b931de1945..d3c8c1a840 100644 --- a/src/gui/text/qfontengine.cpp +++ b/src/gui/text/qfontengine.cpp @@ -103,12 +103,12 @@ bool qt_useHarfbuzzNG() int QFontEngine::getPointInOutline(glyph_t glyph, int flags, quint32 point, QFixed *xpos, QFixed *ypos, quint32 *nPoints) { - Q_UNUSED(glyph) - Q_UNUSED(flags) - Q_UNUSED(point) - Q_UNUSED(xpos) - Q_UNUSED(ypos) - Q_UNUSED(nPoints) + Q_UNUSED(glyph); + Q_UNUSED(flags); + Q_UNUSED(point); + Q_UNUSED(xpos); + Q_UNUSED(ypos); + Q_UNUSED(nPoints); return Err_Not_Covered; } @@ -954,9 +954,9 @@ void QFontEngine::getUnscaledGlyph(glyph_t glyph, QPainterPath *path, glyph_metr */ bool QFontEngine::getSfntTableData(uint tag, uchar *buffer, uint *length) const { - Q_UNUSED(tag) - Q_UNUSED(buffer) - Q_UNUSED(length) + Q_UNUSED(tag); + Q_UNUSED(buffer); + Q_UNUSED(length); return false; } @@ -1538,7 +1538,7 @@ QFontEngineBox::~QFontEngineBox() glyph_t QFontEngineBox::glyphIndex(uint ucs4) const { - Q_UNUSED(ucs4) + Q_UNUSED(ucs4); return 0; } |