Skip to content

Commit

Permalink
Use qt Q_UNUSED for unused params rather
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8460 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed May 19, 2008
1 parent b23c422 commit febfabe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -1752,14 +1752,14 @@ bool QgsWmsProvider::calculateExtent()

// Convert to the user's CRS as required
try
{
extent = mCoordinateTransform->transformBoundingBox(extent, QgsCoordinateTransform::FORWARD);
}
{
extent = mCoordinateTransform->transformBoundingBox(extent, QgsCoordinateTransform::FORWARD);
}
catch(QgsCsException &cse)
{
UNUSED(cse);
continue; //ignore extents of layers which cannot be transformed info the required CRS
}
{
Q_UNUSED(cse);
continue; //ignore extents of layers which cannot be transformed info the required CRS
}

//make sure extent does not contain 'inf' or 'nan'
if (!extent.isFinite())
Expand Down

0 comments on commit febfabe

Please sign in to comment.