[QGIS Commit] r8460 - trunk/qgis/src/providers/wms

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon May 19 09:06:03 EDT 2008


Author: timlinux
Date: 2008-05-19 09:06:03 -0400 (Mon, 19 May 2008)
New Revision: 8460

Modified:
   trunk/qgis/src/providers/wms/qgswmsprovider.cpp
Log:
Use qt Q_UNUSED for unused params rather


Modified: trunk/qgis/src/providers/wms/qgswmsprovider.cpp
===================================================================
--- trunk/qgis/src/providers/wms/qgswmsprovider.cpp	2008-05-19 13:04:29 UTC (rev 8459)
+++ trunk/qgis/src/providers/wms/qgswmsprovider.cpp	2008-05-19 13:06:03 UTC (rev 8460)
@@ -1752,14 +1752,14 @@
 
     // 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())



More information about the QGIS-commit mailing list