Skip to content

Commit

Permalink
Indentation and typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 28, 2018
1 parent 514d09b commit 93fe722
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/analysis/vector/geometry_checker/qgsgeometrycheck.h
Expand Up @@ -68,7 +68,7 @@ class ANALYSIS_EXPORT QgsGeometryCheck
};

/**
* Description of a change to indicate at which level a change occured.
* Description of a change to indicate at which level a change occurred.
*
* \since Python bindings since QGIS 3.4
*/
Expand Down
Expand Up @@ -19,7 +19,7 @@ email : matthias@opengis.ch
#include "qgsgeos.h"
#include "qgsgeometryvalidator.h"

QgsGeometryIsValidCheck::QgsGeometryIsValidCheck(const QgsGeometryCheckContext* context, const QVariantMap& configuration)
QgsGeometryIsValidCheck::QgsGeometryIsValidCheck( const QgsGeometryCheckContext *context, const QVariantMap &configuration )
: QgsSingleGeometryCheck( FeatureNodeCheck, context, configuration )
{}

Expand All @@ -43,7 +43,7 @@ QList<QgsSingleGeometryCheckError *> QgsGeometryIsValidCheck::processGeometry( c
errors.append( error );
} );

// We are already on a thread here normally, no reason to start yet another one. Run synchroneously.
// We are already on a thread here normally, no reason to start yet another one. Run synchronously.
validator.run();

QList<QgsSingleGeometryCheckError *> result;
Expand All @@ -64,7 +64,7 @@ QList<QgsWkbTypes::GeometryType> QgsGeometryIsValidCheck::factoryCompatibleGeome
return {QgsWkbTypes::LineGeometry, QgsWkbTypes::PolygonGeometry};
}

bool QgsGeometryIsValidCheck::factoryIsCompatible(QgsVectorLayer* layer) SIP_SKIP
bool QgsGeometryIsValidCheck::factoryIsCompatible( QgsVectorLayer *layer ) SIP_SKIP
{
return factoryCompatibleGeometryTypes().contains( layer->geometryType() );
}
Expand Down

0 comments on commit 93fe722

Please sign in to comment.