Skip to content
Permalink
Browse files
Use qt Q_UNUSED for unused params rather
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 febfabe6682e8697931eae2d8edf6fb31f488c77
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/providers/wms/qgswmsprovider.cpp
@@ -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())

0 comments on commit febfabe

Please sign in to comment.