Skip to content

Commit

Permalink
Fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed May 8, 2018
1 parent a2a2d28 commit 2ee479e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/providers/wms/qgswmscapabilities.cpp
Expand Up @@ -896,14 +896,14 @@ void QgsWmsCapabilities::parseLayer( QDomElement const &e, QgsWmsLayerProperty &
bool inheritedOverwritten = false;
for ( int i = 0; i < layerProperty.boundingBoxes.size(); i++ )
{
if ( layerProperty.boundingBoxes[i].crs == bbox.crs )
{
layerProperty.boundingBoxes[i] = bbox;
inheritedOverwritten = true;
}
if ( layerProperty.boundingBoxes[i].crs == bbox.crs )
{
layerProperty.boundingBoxes[i] = bbox;
inheritedOverwritten = true;
}
}
if ( ! inheritedOverwritten )
layerProperty.boundingBoxes << bbox;
layerProperty.boundingBoxes << bbox;
}
else
{
Expand Down

0 comments on commit 2ee479e

Please sign in to comment.