Skip to content

Commit d9bbce6

Browse files
committedNov 15, 2015
Fix style and indentation isssues introduced in 6b3651f
1 parent 6b3651f commit d9bbce6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎src/providers/postgres/qgspostgresprovider.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2915,7 +2915,7 @@ bool QgsPostgresProvider::getGeometryDetails()
29152915
if ( PGRES_TUPLES_OK == result.PQresultStatus() )
29162916
{
29172917
sql = QString( "SELECT (SELECT t.typname FROM pg_type t WHERE oid = %1), upper(postgis_typmod_type(%2)), postgis_typmod_srid(%2)" )
2918-
.arg(QString::number( result.PQftype( 0 ) ), QString::number( result.PQfmod( 0 ) ) );
2918+
.arg( QString::number( result.PQftype( 0 ) ), QString::number( result.PQfmod( 0 ) ) );
29192919
result = connectionRO()->PQexec( sql );
29202920
if ( result.PQntuples() == 1 )
29212921
{
@@ -2930,7 +2930,8 @@ bool QgsPostgresProvider::getGeometryDetails()
29302930
mSpatialColType = sctTopoGeometry;
29312931
else if ( geomColType == "pcpatch" )
29322932
mSpatialColType = sctPcPatch;
2933-
else {
2933+
else
2934+
{
29342935
detectedType = mRequestedGeomType == QGis::WKBUnknown ? "" : QgsPostgresConn::postgisWkbTypeName( mRequestedGeomType );
29352936
detectedSrid = mRequestedSrid;
29362937
}

0 commit comments

Comments
 (0)
Please sign in to comment.