Skip to content
Permalink
Browse files

Capitalization

  • Loading branch information
m-kuhn committed Sep 12, 2018
1 parent 2f702b7 commit af252bedcc64caefe285d51c07d13a716bc00f30
Showing with 3 additions and 4 deletions.
  1. +3 −4 src/core/qgsgeometryvalidator.cpp
@@ -313,7 +313,7 @@ void QgsGeometryValidator::run()
{
if ( mp[i].isEmpty() )
{
emit errorFound( QgsGeometry::Error( QObject::tr( "polygon %1 has no rings" ).arg( i ) ) );
emit errorFound( QgsGeometry::Error( QObject::tr( "Polygon %1 has no rings" ).arg( i ) ) );
mErrorCount++;
continue;
}
@@ -325,12 +325,12 @@ void QgsGeometryValidator::run()

if ( ringInRing( mp[i][0], mp[j][0] ) )
{
emit errorFound( QgsGeometry::Error( QObject::tr( "polygon %1 inside polygon %2" ).arg( i ).arg( j ) ) );
emit errorFound( QgsGeometry::Error( QObject::tr( "Polygon %1 inside polygon %2" ).arg( i ).arg( j ) ) );
mErrorCount++;
}
else if ( ringInRing( mp[j][0], mp[i][0] ) )
{
emit errorFound( QgsGeometry::Error( QObject::tr( "polygon %1 inside polygon %2" ).arg( j ).arg( i ) ) );
emit errorFound( QgsGeometry::Error( QObject::tr( "Polygon %1 inside polygon %2" ).arg( j ).arg( i ) ) );
mErrorCount++;
}
else
@@ -343,7 +343,6 @@ void QgsGeometryValidator::run()

else if ( flatType == QgsWkbTypes::Unknown )
{
QgsDebugMsg( QObject::tr( "Unknown geometry type" ) );
emit errorFound( QgsGeometry::Error( QObject::tr( "Unknown geometry type %1" ).arg( mGeometry.wkbType() ) ) );
mErrorCount++;
}

0 comments on commit af252be

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