summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-12-09 13:49:15 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-12-09 13:49:15 (GMT)
commit9f3cde38bffb79da82d6248a873a687d37177954 (patch)
treef2d1fb4b185d0faa6224fd5c6b3ad9d199451a74
parent32b45ba08745fdcedf6b3537a9f62cd23a5eb1ba (diff)
downloadQt-9f3cde38bffb79da82d6248a873a687d37177954.zip
Qt-9f3cde38bffb79da82d6248a873a687d37177954.tar.gz
Qt-9f3cde38bffb79da82d6248a873a687d37177954.tar.bz2
Don't assert on valid math in qbezier
-rw-r--r--src/gui/painting/qbezier_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/painting/qbezier_p.h b/src/gui/painting/qbezier_p.h
index 7dbd0c2..c284871 100644
--- a/src/gui/painting/qbezier_p.h
+++ b/src/gui/painting/qbezier_p.h
@@ -166,8 +166,6 @@ inline void QBezier::coefficients(qreal t, qreal &a, qreal &b, qreal &c, qreal &
inline QPointF QBezier::pointAt(qreal t) const
{
- Q_ASSERT(t >= 0);
- Q_ASSERT(t <= 1);
#if 1
qreal a, b, c, d;
coefficients(t, a, b, c, d);