diff options
author | Alessandro Portale <alessandro.portale@nokia.com> | 2010-04-21 10:43:23 (GMT) |
---|---|---|
committer | Alessandro Portale <alessandro.portale@nokia.com> | 2010-04-21 10:43:23 (GMT) |
commit | a9cd54ebf66aa51ae56a1b1a7a75423bef59605c (patch) | |
tree | de6bad3664fe5aaa8fb5689a1a75e54b9f760b48 | |
parent | 9542c54a295d6151c467f106c43c3c15ff4653cd (diff) | |
download | Qt-a9cd54ebf66aa51ae56a1b1a7a75423bef59605c.zip Qt-a9cd54ebf66aa51ae56a1b1a7a75423bef59605c.tar.gz Qt-a9cd54ebf66aa51ae56a1b1a7a75423bef59605c.tar.bz2 |
Removed inneccessary QGlyphLayout::offsets initialization.
Reviewed-by: lars
-rw-r--r-- | src/gui/text/qfontengine_s60.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qfontengine_s60.cpp b/src/gui/text/qfontengine_s60.cpp index 1a99c93..e557f56 100644 --- a/src/gui/text/qfontengine_s60.cpp +++ b/src/gui/text/qfontengine_s60.cpp @@ -243,8 +243,8 @@ void QFontEngineS60::recalcAdvances(QGlyphLayout *glyphs, QTextEngine::ShaperFla Q_UNUSED(flags); for (int i = 0; i < glyphs->numGlyphs; i++) { const glyph_metrics_t bbox = boundingBox_const(glyphs->glyphs[i]); - glyphs->advances_x[i] = glyphs->offsets[i].x = bbox.xoff; - glyphs->advances_y[i] = glyphs->offsets[i].y = bbox.yoff; + glyphs->advances_x[i] = bbox.xoff; + glyphs->advances_y[i] = bbox.yoff; } } |