@@ -65,13 +65,13 @@ QgsWmsProvider::QgsWmsProvider(QString const & uri)
65
65
mHttpProxyUser(0 ),
66
66
mHttpProxyPass(0 ),
67
67
httpcapabilitiesresponse(0 ),
68
+ imageCrs(DEFAULT_LATLON_CRS),
68
69
cachedImage(0 ),
69
70
cachedViewExtent(0 ),
70
71
cachedPixelWidth(0 ),
71
72
cachedPixelHeight(0 ),
72
73
mCoordinateTransform(0 ),
73
74
extentDirty(TRUE ),
74
- imageCrs(DEFAULT_LATLON_CRS),
75
75
mGetFeatureInfoUrlBase(0 )
76
76
{
77
77
#ifdef QGISDEBUG
@@ -224,7 +224,7 @@ QSet<QString> QgsWmsProvider::supportedCrsForLayers(QStringList const & layers)
224
224
QSet<QString> crsSet;
225
225
226
226
// convert std::vector to std::set for set comparisons
227
- for (int j = 0 ; j < crsVector.size (); j++)
227
+ for (uint j = 0 ; j < crsVector.size (); j++)
228
228
{
229
229
crsSet.insert ( crsVector[j] );
230
230
}
@@ -1647,7 +1647,7 @@ void QgsWmsProvider::parseLayer(QDomElement const & e, QgsWmsLayerProperty& laye
1647
1647
extentForLayer[ layerProperty.name ] = layerProperty.ex_GeographicBoundingBox ;
1648
1648
1649
1649
// see if we can refine the bounding box with the CRS-specific bounding boxes
1650
- for ( int i = 0 ; i < layerProperty.boundingBox .size (); i++ )
1650
+ for ( uint i = 0 ; i < layerProperty.boundingBox .size (); i++ )
1651
1651
{
1652
1652
#ifdef QGISDEBUG
1653
1653
std::cout << " QgsWmsProvider::parseLayer: testing bounding box CRS which is "
@@ -2128,7 +2128,7 @@ QString QgsWmsProvider::getMetadata()
2128
2128
2129
2129
// Iterate through layers
2130
2130
2131
- for (int i = 0 ; i < layersSupported.size (); i++)
2131
+ for (uint i = 0 ; i < layersSupported.size (); i++)
2132
2132
{
2133
2133
2134
2134
// TODO: Handle nested layers
@@ -2247,7 +2247,7 @@ QString QgsWmsProvider::getMetadata()
2247
2247
myMetadataQString += " </td></tr>" ;
2248
2248
2249
2249
// Layer Coordinate Reference Systems
2250
- for ( int j = 0 ; j < layersSupported[i].crs .size (); j++ )
2250
+ for ( uint j = 0 ; j < layersSupported[i].crs .size (); j++ )
2251
2251
{
2252
2252
myMetadataQString += " <tr><td bgcolor=\" gray\" >" ;
2253
2253
myMetadataQString += tr (" Available in CRS" );
@@ -2258,7 +2258,7 @@ QString QgsWmsProvider::getMetadata()
2258
2258
}
2259
2259
2260
2260
// Layer Styles
2261
- for (int j = 0 ; j < layersSupported[i].style .size (); j++)
2261
+ for (uint j = 0 ; j < layersSupported[i].style .size (); j++)
2262
2262
{
2263
2263
myMetadataQString += " <tr><td bgcolor=\" gray\" >" ;
2264
2264
myMetadataQString += tr (" Available in style" );
0 commit comments