Skip to content
Permalink
Browse files

indentation update

  • Loading branch information
jef-n committed Jun 10, 2015
1 parent 49286b3 commit 4e861093980fe0a215d29d354809468e08afe0db
@@ -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;
}

@@ -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 ) );
}
@@ -16,4 +16,3 @@
***************************************************************************/

#include "qgsruggednessindex.h"

@@ -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;
@@ -527,4 +527,3 @@ void TestQgsRasterCalculator::calcWithReprojectedLayers()

QTEST_MAIN( TestQgsRasterCalculator )
#include "testqgsrastercalculator.moc"

@@ -104,4 +104,3 @@ void TestContrastEnhancements::linearMinMaxEnhancementTest()
}
QTEST_MAIN( TestContrastEnhancements )
#include "testcontrastenhancements.moc"

@@ -71,4 +71,3 @@ void TestQgsApplication::checkGdalSkip()

QTEST_MAIN( TestQgsApplication )
#include "testqgsapplication.moc"

@@ -146,4 +146,3 @@ void TestQgsComposerDD::ddEvaluate()

QTEST_MAIN( TestQgsComposerDD )
#include "testqgscomposerdd.moc"

@@ -518,4 +518,3 @@ void TestQgsComposerTable::attributeTableVisibleOnly()

QTEST_MAIN( TestQgsComposerTable )
#include "testqgscomposertable.moc"

@@ -626,4 +626,3 @@ void TestQgsComposerTableV2::removeDuplicates()

QTEST_MAIN( TestQgsComposerTableV2 )
#include "testqgscomposertablev2.moc"

@@ -253,4 +253,3 @@ void TestQgsComposition::pageIsEmpty()

QTEST_MAIN( TestQgsComposition )
#include "testqgscomposition.moc"

@@ -75,4 +75,3 @@ void TestQgsCoordinateTransform::transformBoundingBox()

QTEST_MAIN( TestQgsCoordinateTransform )
#include "testqgscoordinatetransform.moc"

@@ -1151,4 +1151,3 @@ class TestQgsExpression: public QObject
QTEST_MAIN( TestQgsExpression )

#include "testqgsexpression.moc"

@@ -682,4 +682,3 @@ void TestQgsGeometry::dumpPolyline( QgsPolyline &thePolyline )

QTEST_MAIN( TestQgsGeometry )
#include "testqgsgeometry.moc"

@@ -246,4 +246,3 @@ bool TestQgsGeometryImport::compareLineStrings( const QgsPolyline& polyline, QVa

QTEST_MAIN( TestQgsGeometryImport )
#include "testqgsgeometryimport.moc"

@@ -126,7 +126,7 @@ class TestQgsPaintEffect: public QObject


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

}
@@ -261,4 +261,3 @@ class TestQgsPointLocator : public QObject
QTEST_MAIN( TestQgsPointLocator )

#include "testqgspointlocator.moc"

@@ -176,4 +176,3 @@ class TestQgsRuleBasedRenderer: public QObject
QTEST_MAIN( TestQgsRuleBasedRenderer )

#include "testqgsrulebasedrenderer.moc"

@@ -86,4 +86,3 @@ class TestQgsScaleExpression: public QObject
QTEST_MAIN( TestQgsScaleExpression )

#include "testqgsscaleexpression.moc"

@@ -400,4 +400,3 @@ void TestQgsVectorFileWriter::projectedPlygonGridTest()

QTEST_MAIN( TestQgsVectorFileWriter )
#include "testqgsvectorfilewriter.moc"

@@ -241,4 +241,3 @@ void TestVectorLayerCache::onCommittedFeaturesAdded( QString layerId, QgsFeature

QTEST_MAIN( TestVectorLayerCache )
#include "testqgsvectorlayercache.moc"

@@ -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.
You can’t perform that action at this time.