diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-17 15:19:53 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-11-17 15:28:20 (GMT) |
commit | 7bb7914a183694be43029ed4c39651f3d95cfe67 (patch) | |
tree | fd68258e88380342460468b1c04cd7c41e00ea36 /src/gui/painting/qblendfunctions.cpp | |
parent | 39463ccddd6f8c071da90e995ba5e76518738f94 (diff) | |
download | Qt-7bb7914a183694be43029ed4c39651f3d95cfe67.zip Qt-7bb7914a183694be43029ed4c39651f3d95cfe67.tar.gz Qt-7bb7914a183694be43029ed4c39651f3d95cfe67.tar.bz2 |
Warning Fixes
Diffstat (limited to 'src/gui/painting/qblendfunctions.cpp')
-rw-r--r-- | src/gui/painting/qblendfunctions.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/painting/qblendfunctions.cpp b/src/gui/painting/qblendfunctions.cpp index b92c5c2..1d15dac 100644 --- a/src/gui/painting/qblendfunctions.cpp +++ b/src/gui/painting/qblendfunctions.cpp @@ -739,10 +739,6 @@ template <typename T> void qt_scale_image_32bit(uchar *destPixels, int dbpl, quint32 basex; quint32 srcy; - const int dstx = qCeil((tx1 + 0.5 - qMin(targetRect.left(), targetRect.right())) * ix) - 1; - const int dsty = qCeil((ty1 + 0.5 - qMin(targetRect.top(), targetRect.bottom())) * iy) - 1; - - if (sx < 0) { int dstx = qFloor((tx1 + qreal(0.5) - targetRect.right()) * ix) + 1; basex = quint32(srcRect.right() * 65536) + dstx; |