summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintengine_raster.cpp
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-06-03 09:56:27 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-06-03 09:56:27 (GMT)
commitd2d6f3963d11e969bf0fe0ff35064be5455f80c5 (patch)
tree03b747ac565ef08e094be32bfc27a458b87785fe /src/gui/painting/qpaintengine_raster.cpp
parent243535036078fec14bc460ccf41708ff14878797 (diff)
downloadQt-d2d6f3963d11e969bf0fe0ff35064be5455f80c5.zip
Qt-d2d6f3963d11e969bf0fe0ff35064be5455f80c5.tar.gz
Qt-d2d6f3963d11e969bf0fe0ff35064be5455f80c5.tar.bz2
Fix Windows build
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
-rw-r--r--src/gui/painting/qpaintengine_raster.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp
index a1d728c..7161fe3 100644
--- a/src/gui/painting/qpaintengine_raster.cpp
+++ b/src/gui/painting/qpaintengine_raster.cpp
@@ -3416,8 +3416,8 @@ bool QRasterPaintEngine::supportsTransformations(const QFontEngine *fontEngine)
{
const QTransform &m = state()->matrix;
#if defined(Q_WS_WIN) && !defined(Q_WS_WINCE)
- QFontEngine::Type fontEngineType = ti.fontEngine->type();
- if ((fontEngineType == QFontEngine::Win && !((QFontEngineWin *) ti.fontEngine)->ttf && m.type() > QTransform::TxTranslate)
+ QFontEngine::Type fontEngineType = fontEngine->type();
+ if ((fontEngineType == QFontEngine::Win && !((QFontEngineWin *) fontEngine)->ttf && m.type() > QTransform::TxTranslate)
|| (m.type() <= QTransform::TxTranslate
&& (fontEngineType == QFontEngine::TestFontEngine
|| fontEngineType == QFontEngine::Box))) {