Skip to content

Commit

Permalink
indentation update
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 10, 2015
1 parent 49286b3 commit 4e86109
Show file tree
Hide file tree
Showing 22 changed files with 4 additions and 22 deletions.
2 changes: 1 addition & 1 deletion src/analysis/openstreetmap/qgsosmdatabase.cpp
Expand Up @@ -476,7 +476,7 @@ void QgsOSMDatabase::exportSpatiaLiteWays( bool closed, const QString& tableName
{
// make sure tags that indicate areas are taken into consideration when deciding on a closed way is or isn't an area
// and allow for a closed way to be exported both as a polygon and a line in case both area and non-area tags are present
if ( ( t.value( "area" ) != "yes" && !t.contains( "amenity" ) && !t.contains( "landuse" ) && !t.contains( "building" ) && !t.contains( "natural" ) && !t.contains( "leisure" ) && !t.contains( "aeroway" ) ) || !closed )
if (( t.value( "area" ) != "yes" && !t.contains( "amenity" ) && !t.contains( "landuse" ) && !t.contains( "building" ) && !t.contains( "natural" ) && !t.contains( "leisure" ) && !t.contains( "aeroway" ) ) || !closed )
isArea = false;
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayerfeatureiterator.cpp
Expand Up @@ -506,7 +506,7 @@ void QgsVectorLayerFeatureIterator::prepareExpressions()
if ( mRequest.flags() & QgsFeatureRequest::SubsetOfAttributes )
{
QgsAttributeList attrs;
Q_FOREACH( const QString& col, exp->referencedColumns() )
Q_FOREACH ( const QString& col, exp->referencedColumns() )
{
attrs.append( mSource->mFields.fieldNameIndex( col ) );
}
Expand Down
1 change: 0 additions & 1 deletion src/plugins/raster_terrain_analysis/qgsruggednessindex.cpp
Expand Up @@ -16,4 +16,3 @@
***************************************************************************/

#include "qgsruggednessindex.h"

2 changes: 1 addition & 1 deletion src/server/qgswmsserver.cpp
Expand Up @@ -1560,7 +1560,7 @@ int QgsWMSServer::getFeatureInfo( QDomDocument& result, QString version )
{
continue;
}
QgsPoint layerInfoPoint = mMapRenderer->mapToLayerCoordinates( currentLayer, *(infoPoint.data()) );
QgsPoint layerInfoPoint = mMapRenderer->mapToLayerCoordinates( currentLayer, *( infoPoint.data() ) );
if ( featureInfoFromRasterLayer( rasterLayer, &layerInfoPoint, result, layerElement, version, infoFormat ) != 0 )
{
continue;
Expand Down
1 change: 0 additions & 1 deletion tests/src/analysis/testqgsrastercalculator.cpp
Expand Up @@ -527,4 +527,3 @@ void TestQgsRasterCalculator::calcWithReprojectedLayers()

QTEST_MAIN( TestQgsRasterCalculator )
#include "testqgsrastercalculator.moc"

1 change: 0 additions & 1 deletion tests/src/core/testcontrastenhancements.cpp
Expand Up @@ -104,4 +104,3 @@ void TestContrastEnhancements::linearMinMaxEnhancementTest()
}
QTEST_MAIN( TestContrastEnhancements )
#include "testcontrastenhancements.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgsapplication.cpp
Expand Up @@ -71,4 +71,3 @@ void TestQgsApplication::checkGdalSkip()

QTEST_MAIN( TestQgsApplication )
#include "testqgsapplication.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgscomposerdd.cpp
Expand Up @@ -146,4 +146,3 @@ void TestQgsComposerDD::ddEvaluate()

QTEST_MAIN( TestQgsComposerDD )
#include "testqgscomposerdd.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgscomposertable.cpp
Expand Up @@ -518,4 +518,3 @@ void TestQgsComposerTable::attributeTableVisibleOnly()

QTEST_MAIN( TestQgsComposerTable )
#include "testqgscomposertable.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgscomposertablev2.cpp
Expand Up @@ -626,4 +626,3 @@ void TestQgsComposerTableV2::removeDuplicates()

QTEST_MAIN( TestQgsComposerTableV2 )
#include "testqgscomposertablev2.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgscomposition.cpp
Expand Up @@ -253,4 +253,3 @@ void TestQgsComposition::pageIsEmpty()

QTEST_MAIN( TestQgsComposition )
#include "testqgscomposition.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgscoordinatetransform.cpp
Expand Up @@ -75,4 +75,3 @@ void TestQgsCoordinateTransform::transformBoundingBox()

QTEST_MAIN( TestQgsCoordinateTransform )
#include "testqgscoordinatetransform.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgsexpression.cpp
Expand Up @@ -1151,4 +1151,3 @@ class TestQgsExpression: public QObject
QTEST_MAIN( TestQgsExpression )

#include "testqgsexpression.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgsgeometry.cpp
Expand Up @@ -682,4 +682,3 @@ void TestQgsGeometry::dumpPolyline( QgsPolyline &thePolyline )

QTEST_MAIN( TestQgsGeometry )
#include "testqgsgeometry.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgsgeometryimport.cpp
Expand Up @@ -246,4 +246,3 @@ bool TestQgsGeometryImport::compareLineStrings( const QgsPolyline& polyline, QVa

QTEST_MAIN( TestQgsGeometryImport )
#include "testqgsgeometryimport.moc"

2 changes: 1 addition & 1 deletion tests/src/core/testqgspainteffect.cpp
Expand Up @@ -126,7 +126,7 @@ class TestQgsPaintEffect: public QObject


TestQgsPaintEffect::TestQgsPaintEffect()
: mPicture( 0 )
: mPicture( 0 )
{

}
Expand Down
1 change: 0 additions & 1 deletion tests/src/core/testqgspointlocator.cpp
Expand Up @@ -261,4 +261,3 @@ class TestQgsPointLocator : public QObject
QTEST_MAIN( TestQgsPointLocator )

#include "testqgspointlocator.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgsrulebasedrenderer.cpp
Expand Up @@ -176,4 +176,3 @@ class TestQgsRuleBasedRenderer: public QObject
QTEST_MAIN( TestQgsRuleBasedRenderer )

#include "testqgsrulebasedrenderer.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgsscaleexpression.cpp
Expand Up @@ -86,4 +86,3 @@ class TestQgsScaleExpression: public QObject
QTEST_MAIN( TestQgsScaleExpression )

#include "testqgsscaleexpression.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgsvectorfilewriter.cpp
Expand Up @@ -400,4 +400,3 @@ void TestQgsVectorFileWriter::projectedPlygonGridTest()

QTEST_MAIN( TestQgsVectorFileWriter )
#include "testqgsvectorfilewriter.moc"

1 change: 0 additions & 1 deletion tests/src/core/testqgsvectorlayercache.cpp
Expand Up @@ -241,4 +241,3 @@ void TestVectorLayerCache::onCommittedFeaturesAdded( QString layerId, QgsFeature

QTEST_MAIN( TestVectorLayerCache )
#include "testqgsvectorlayercache.moc"

1 change: 0 additions & 1 deletion tests/src/gui/testqgsquickprint.cpp
Expand Up @@ -177,4 +177,3 @@ bool TestQgsQuickPrint::imageCheck( QString theTestType )

QTEST_MAIN( TestQgsQuickPrint )
#include "testqgsquickprint.moc"

0 comments on commit 4e86109

Please sign in to comment.