diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-11-09 16:07:39 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-11-10 08:46:43 (GMT) |
commit | d7c4165a8e3c0a8000b3239e8790cdae7c814637 (patch) | |
tree | 10ef8013c61f8b711039090aff69148671115b1a /src/gui/text | |
parent | 829265b98a6c7c3856f3504e29209bff38c95ce9 (diff) | |
download | Qt-d7c4165a8e3c0a8000b3239e8790cdae7c814637.zip Qt-d7c4165a8e3c0a8000b3239e8790cdae7c814637.tar.gz Qt-d7c4165a8e3c0a8000b3239e8790cdae7c814637.tar.bz2 |
Removed redundant line of code.
Reviewed-by: Simon Hausmann
Diffstat (limited to 'src/gui/text')
-rw-r--r-- | src/gui/text/qfontengine_ft.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/text/qfontengine_ft.cpp b/src/gui/text/qfontengine_ft.cpp index 4041717..293eac7 100644 --- a/src/gui/text/qfontengine_ft.cpp +++ b/src/gui/text/qfontengine_ft.cpp @@ -755,9 +755,8 @@ QFontEngineFT::Glyph *QFontEngineFT::loadGlyphMetrics(QGlyphSet *set, uint glyph load_flags = FT_LOAD_NO_BITMAP; // apply our matrix to this, but note that the metrics will not be affected by this. - FT_Matrix matrix = freetype->matrix; FT_Face face = lockFace(); - matrix = this->matrix; + FT_Matrix matrix = this->matrix; FT_Matrix_Multiply(&set->transformationMatrix, &matrix); FT_Set_Transform(face, &matrix, 0); freetype->matrix = matrix; |