Use Qt abstractions of cmath functions.

This commit is contained in:
Jim Evins
2016-12-23 22:09:49 -05:00
parent 34da3fe17c
commit 6dba70dfd1
13 changed files with 25 additions and 62 deletions
-6
View File
@@ -20,9 +20,6 @@
#include "LabelRegion.h"
#include <algorithm>
#include <cmath>
///
/// Get x1
@@ -101,9 +98,6 @@ void LabelRegion::setY2( const glabels::Distance& value )
///
QRectF LabelRegion::rect() const
{
using std::min;
using std::fabs;
QRectF r;
r.setX( min( mX1, mX2 ).pt() );