From ad2d4e8386742df9985ca918b6fea6c7603e70bf Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Thu, 26 Feb 2015 13:27:24 +0100 Subject: [PATCH] Remove unused private definitions and function Remove two definitions and one function not used anywhere in the Qt source code. Change-Id: I275e7c7a2d52dd4ac90cc9e6c782cbdfc14791f3 Reviewed-by: Marc Mutz --- src/gui/painting/qmath_p.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/gui/painting/qmath_p.h b/src/gui/painting/qmath_p.h index 9cb64a46cb..13f82a82bb 100644 --- a/src/gui/painting/qmath_p.h +++ b/src/gui/painting/qmath_p.h @@ -50,15 +50,8 @@ QT_BEGIN_NAMESPACE static const qreal Q_PI = qreal(M_PI); // pi -static const qreal Q_2PI = qreal(2 * M_PI); // 2*pi -static const qreal Q_PI2 = qreal(M_PI_2); // pi/2 static const qreal Q_MM_PER_INCH = 25.4; -inline int qIntSqrtInt(int v) -{ - return static_cast(qSqrt(static_cast(v))); -} - QT_END_NAMESPACE #endif // QMATH_P_H