Skip to content
Permalink
Browse files

Remove unused qmath.h includes

  • Loading branch information
nyalldawson committed Aug 24, 2017
1 parent d3854e9 commit 891d612e95a4d4288cd2d34452590212ce9b695a
Showing with 1 addition and 36 deletions.
  1. +0 −1 src/analysis/interpolation/CloughTocherInterpolator.cc
  2. +0 −2 src/analysis/interpolation/MathUtils.cc
  3. +0 −1 src/analysis/raster/qgsalignraster.cpp
  4. +1 −1 src/analysis/raster/qgsrastermatrix.cpp
  5. +0 −2 src/analysis/vector/qgsgeometrysnapper.cpp
  6. +0 −2 src/analysis/vector/qgszonalstatistics.cpp
  7. +0 −1 src/core/effects/qgsimageoperation.cpp
  8. +0 −1 src/core/effects/qgsimageoperation.h
  9. +0 −1 src/core/geometry/qgsgeos.cpp
  10. +0 −1 src/core/geometry/qgslinestring.cpp
  11. +0 −1 src/core/qgsfield.cpp
  12. +0 −1 src/core/qgshistogram.cpp
  13. +0 −1 src/core/qgsproperty.cpp
  14. +0 −1 src/core/qgspropertytransformer.cpp
  15. +0 −1 src/core/qgsstatisticalsummary.cpp
  16. +0 −1 src/core/raster/qgsbrightnesscontrastfilter.cpp
  17. +0 −1 src/core/raster/qgscubicrasterresampler.cpp
  18. +0 −1 src/core/raster/qgsrasterchecker.cpp
  19. +0 −2 src/core/raster/qgsrasterdataprovider.cpp
  20. +0 −2 src/core/raster/qgsrasterinterface.cpp
  21. +0 −1 src/gui/qgscurveeditorwidget.cpp
  22. +0 −1 src/gui/qgsdial.cpp
  23. +0 −1 src/gui/qgsgradientcolorrampdialog.cpp
  24. +0 −1 src/gui/qgsslider.cpp
  25. +0 −2 src/plugins/geometry_checker/checks/qgsgeometrysegmentlengthcheck.cpp
  26. +0 −1 src/plugins/geometry_checker/checks/qgsgeometrysliverpolygoncheck.h
  27. +0 −1 src/plugins/geometry_checker/utils/qgsfeaturepool.cpp
  28. +0 −1 src/plugins/geometry_checker/utils/qgsgeometrycheckerutils.cpp
  29. +0 −1 src/plugins/geometry_checker/utils/qgsgeometrycheckerutils.h
  30. +0 −1 src/providers/arcgisrest/qgsamsprovider.cpp
@@ -18,7 +18,6 @@
#include "qgslogger.h"
#include "MathUtils.h"
#include "NormVecDecorator.h"
#include <qmath.h>

CloughTocherInterpolator::CloughTocherInterpolator()
: mTIN( nullptr )
@@ -19,8 +19,6 @@
#include "qgspoint.h"
#include "Vector3D.h"

#include <qmath.h>

bool MathUtils::calcBarycentricCoordinates( double x, double y, QgsPoint *p1, QgsPoint *p2, QgsPoint *p3, QgsPoint *result )
{
if ( p1 && p2 && p3 && result )
@@ -20,7 +20,6 @@
#include <cpl_conv.h>
#include <limits>

#include <qmath.h>
#include <QPair>
#include <QString>

@@ -17,7 +17,7 @@

#include "qgsrastermatrix.h"
#include <cstring>
#include <qmath.h>
#include <cmath>

QgsRasterMatrix::QgsRasterMatrix()
: mColumns( 0 )
@@ -15,8 +15,6 @@
***************************************************************************/

#include <QtConcurrentMap>
#include <qmath.h>

#include "qgsfeatureiterator.h"
#include "qgsgeometry.h"
#include "qgsvectorlayer.h"
@@ -26,8 +26,6 @@
#include "qgsrasterblock.h"
#include "qgslogger.h"

#include "qmath.h"

#include <QFile>

QgsZonalStatistics::QgsZonalStatistics( QgsVectorLayer *polygonLayer, QgsRasterLayer *rasterLayer, const QString &attributePrefix, int rasterBand, QgsZonalStatistics::Statistics stats )
@@ -22,7 +22,6 @@
#include <QtConcurrentMap>
#include <QColor>
#include <QPainter>
#include <qmath.h>

//determined via trial-and-error. Could possibly be optimised, or varied
//depending on the image size.
@@ -21,7 +21,6 @@
#include <QImage>
#include "qgis.h"
#include <QColor>
#include <QtCore/qmath.h>

#include "qgis_core.h"

@@ -27,7 +27,6 @@ email : marco.hugentobler at sourcepole dot com
#include "qgspolygon.h"
#include <limits>
#include <cstdio>
#include <QtCore/qmath.h>

#define DEFAULT_QUADRANT_SEGMENTS 8

@@ -26,7 +26,6 @@
#include <QPainter>
#include <limits>
#include <QDomDocument>
#include <QtCore/qmath.h>


/***************************************************************************
@@ -21,7 +21,6 @@
#include "qgssettings.h"

#include <QDataStream>
#include <QtCore/qmath.h>
#include <QIcon>

/***************************************************************************
@@ -19,7 +19,6 @@

#include "qgsstatisticalsummary.h"
#include "qgsvectorlayer.h"
#include <qmath.h>

QgsHistogram::QgsHistogram()
: mMax( 0 )
@@ -20,7 +20,6 @@
#include "qgsfeature.h"
#include "qgssymbollayerutils.h"
#include "qgscolorramp.h"
#include <qmath.h>


QgsPropertyDefinition::QgsPropertyDefinition()
@@ -21,7 +21,6 @@
#include "qgsfeature.h"
#include "qgssymbollayerutils.h"
#include "qgscolorramp.h"
#include <qmath.h>


//
@@ -15,7 +15,6 @@

#include "qgsstatisticalsummary.h"
#include <limits>
#include <qmath.h>
#include <QString>
#include <QObject>

@@ -18,7 +18,6 @@
#include "qgsrasterdataprovider.h"
#include "qgsbrightnesscontrastfilter.h"

#include <qmath.h>
#include <QDomDocument>
#include <QDomElement>

@@ -17,7 +17,6 @@

#include "qgscubicrasterresampler.h"
#include <QImage>
#include <qmath.h>

QgsCubicRasterResampler::QgsCubicRasterResampler()
// red
@@ -18,7 +18,6 @@
#include "qgsrasterdataprovider.h"
#include "qgsrasterlayer.h"

#include <qmath.h>
#include <QColor>
#include <QPainter>
#include <QImage>
@@ -27,8 +27,6 @@
#include <QByteArray>
#include <QVariant>

#include <qmath.h>

#define ERR(message) QgsError(message, "Raster provider")

void QgsRasterDataProvider::setUseSourceNoDataValue( int bandNo, bool use )
@@ -22,8 +22,6 @@
#include <QTime>
#include <QStringList>

#include <qmath.h>

#include "qgslogger.h"
#include "qgsrasterbandstats.h"
#include "qgsrasterhistogram.h"
@@ -16,7 +16,6 @@

#include "qgscurveeditorwidget.h"

#include <qmath.h>
#include <QPainter>
#include <QVBoxLayout>
#include <QMouseEvent>
@@ -21,7 +21,6 @@
#include <QPaintEvent>
#include <QPainter>
#include <QRect>
#include <qmath.h>

QgsDial::QgsDial( QWidget *parent ) : QDial( parent )
{
@@ -21,7 +21,6 @@
#include "qgscptcityarchive.h"
#include "qgssettings.h"

#include <qmath.h>
#include <QColorDialog>
#include <QInputDialog>
#include <QPainter>
@@ -21,7 +21,6 @@
#include <QPaintEvent>
#include <QPainter>
#include <QRect>
#include <qmath.h>

QgsSlider::QgsSlider( QWidget *parent ) : QSlider( parent )
{
@@ -13,8 +13,6 @@
* *
***************************************************************************/

#include <qmath.h>

#include "qgsgeometrysegmentlengthcheck.h"
#include "qgsgeometryutils.h"
#include "../utils/qgsfeaturepool.h"
@@ -17,7 +17,6 @@
#define QGS_GEOMETRY_SLIVERPOLYGON_CHECK_H

#include "qgsgeometryareacheck.h"
#include <qmath.h>

class QgsGeometrySliverPolygonCheck : public QgsGeometryAreaCheck
{
@@ -23,7 +23,6 @@
#include "qgsgeometryutils.h"

#include <QMutexLocker>
#include <qmath.h>
#include <limits>

QgsFeaturePool::QgsFeaturePool( QgsVectorLayer *layer, bool selectedOnly )
@@ -15,7 +15,6 @@
***************************************************************************/

#include "qgsgeometryutils.h"
#include <qmath.h>
#include "qgsgeos.h"
#include "qgsgeometrycollection.h"
#include "qgssurface.h"
@@ -19,7 +19,6 @@

#include "geometry/qgsabstractgeometry.h"
#include "geometry/qgspoint.h"
#include <qmath.h>

class QgsGeometryEngine;

@@ -30,7 +30,6 @@
#include <QNetworkRequest>
#include <QNetworkReply>
#include <QPainter>
#include <qmath.h>

QgsAmsLegendFetcher::QgsAmsLegendFetcher( QgsAmsProvider *provider )
: QgsImageFetcher( provider ), mProvider( provider )

0 comments on commit 891d612

Please sign in to comment.
You can’t perform that action at this time.