Skip to content

Commit 66e2ab0

Browse files
committedNov 29, 2011
remove superfluous closing parenthesis
1 parent 4b86c71 commit 66e2ab0

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed
 

‎src/providers/postgres/qgspostgresprovider.cpp

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,20 +1327,18 @@ void QgsPostgresProvider::select( QgsAttributeList fetchAttributes, QgsRectangle
13271327
if ( whereClause.isEmpty() )
13281328
{
13291329
QString qBox = QString( "%1('BOX3D(%2)'::box3d,%3)" )
1330-
.arg( connectionRO->majorVersion() < 2 ? "setsrid"
1331-
: "st_setsrid" )
1332-
.arg( rect.asWktCoordinates() )
1333-
.arg( srid );
1330+
.arg( connectionRO->majorVersion() < 2 ? "setsrid" : "st_setsrid" )
1331+
.arg( rect.asWktCoordinates() )
1332+
.arg( srid );
13341333
whereClause = QString( "%1 && %2" )
1335-
.arg( quotedIdentifier( geometryColumn ) )
1336-
.arg( qBox );
1334+
.arg( quotedIdentifier( geometryColumn ) )
1335+
.arg( qBox );
13371336
if ( useIntersect )
13381337
{
1339-
whereClause += QString( " and %1(%2,%3))" )
1340-
.arg( connectionRO->majorVersion() < 2 ? "intersects"
1341-
: "st_intersects" )
1342-
.arg( quotedIdentifier( geometryColumn ) )
1343-
.arg( qBox );
1338+
whereClause += QString( " and %1(%2,%3)" )
1339+
.arg( connectionRO->majorVersion() < 2 ? "intersects" : "st_intersects" )
1340+
.arg( quotedIdentifier( geometryColumn ) )
1341+
.arg( qBox );
13441342
}
13451343
}
13461344
}

0 commit comments

Comments
 (0)