Skip to content
Permalink
Browse files

Fix some copy/paste errors identified by Coverity

  • Loading branch information
nyalldawson committed Feb 3, 2015
1 parent 93a8683 commit 6f2ba0f0d738f2b4349116ebda1016cf70f5af52
@@ -498,7 +498,7 @@ void QgsCustomProjectionDialog::on_pbnCalculate_clicked()
tr( "Internal Error (source projection invalid?)" ) );
projectedX->setText( "" );
projectedY->setText( "" );
pj_free( myProj );
pj_free( wgs84Proj );
return;
}

@@ -68,7 +68,7 @@ QgsRasterLayerRenderer::QgsRasterLayerRenderer( QgsRasterLayer* layer, QgsRender
catch ( QgsCsException &cs )
{
QgsMessageLog::logMessage( QObject::tr( "Could not reproject layer extent: %1" ).arg( cs.what() ), QObject::tr( "Raster" ) );
myProjectedViewExtent.setMinimal();
myProjectedLayerExtent.setMinimal();
}
}
else
@@ -782,7 +782,7 @@ QString QgsPostgresConn::postgisVersion()
QStringList gist = postgisParts.filter( "STATS" );
if ( gist.size() == 1 )
{
mGistAvailable = ( geos[0].indexOf( "=1" ) > -1 );
mGistAvailable = ( gist[0].indexOf( "=1" ) > -1 );
}
QStringList proj = postgisParts.filter( "PROJ" );
if ( proj.size() == 1 )

0 comments on commit 6f2ba0f

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