Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@13445 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 8, 2010
1 parent f6483e9 commit 9b73590
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/plugins/georeferencer/qgsgeorefplugingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,8 @@ bool QgsGeorefPluginGui::georeference()
return true;
}
}

return false;
}

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

if ( nPointsEnabled > 4 )
{
meanError = sqrt(( sumVxSquare + sumVySquare ) / ( 2 * nPointsEnabled - 4 ) ) * sqrt( 2 );
meanError = sqrt(( sumVxSquare + sumVySquare ) / ( 2 * nPointsEnabled - 4 ) ) * sqrt( 2.0 );
}
}

Expand Down
1 change: 0 additions & 1 deletion src/plugins/georeferencer/qgsresidualplotitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ double QgsResidualPlotItem::maxMMToPixelRatioForGCP( const QgsGeorefDataPoint* p
QPointF residual = p->residual();
QLineF residualLine( pixelXMM, pixelYMM, pixelXMM + residual.x(), pixelYMM + residual.y() );
QPointF intersectionPoint;
double dx, dy;

if ( residual.y() > 0 )
{
Expand Down

0 comments on commit 9b73590

Please sign in to comment.