Skip to content

Commit edec35d

Browse files
author
jef
committedMay 8, 2010
fix windows build
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13445 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎src/plugins/georeferencer/qgsgeorefplugingui.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,8 @@ bool QgsGeorefPluginGui::georeference()
11321132
return true;
11331133
}
11341134
}
1135+
1136+
return false;
11351137
}
11361138

11371139
bool QgsGeorefPluginGui::writeWorldFile( QgsPoint origin, double pixelXSize, double pixelYSize, double rotation )
@@ -1256,7 +1258,7 @@ bool QgsGeorefPluginGui::writePDFReportFile( const QString& fileName, const QgsG
12561258

12571259
if ( nPointsEnabled > 4 )
12581260
{
1259-
meanError = sqrt(( sumVxSquare + sumVySquare ) / ( 2 * nPointsEnabled - 4 ) ) * sqrt( 2 );
1261+
meanError = sqrt(( sumVxSquare + sumVySquare ) / ( 2 * nPointsEnabled - 4 ) ) * sqrt( 2.0 );
12601262
}
12611263
}
12621264

‎src/plugins/georeferencer/qgsresidualplotitem.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ double QgsResidualPlotItem::maxMMToPixelRatioForGCP( const QgsGeorefDataPoint* p
141141
QPointF residual = p->residual();
142142
QLineF residualLine( pixelXMM, pixelYMM, pixelXMM + residual.x(), pixelYMM + residual.y() );
143143
QPointF intersectionPoint;
144-
double dx, dy;
145144

146145
if ( residual.y() > 0 )
147146
{

0 commit comments

Comments
 (0)
Please sign in to comment.