Skip to content

Commit

Permalink
const
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Mar 10, 2021
1 parent 36b7776 commit 4e4aa1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsgetcapabilities.cpp
Expand Up @@ -1435,7 +1435,7 @@ namespace QgsWms
QgsRectangle wgs84BoundingRect = lGeoExtent;
if ( wgs84BoundingRect.isNull() )
{
QgsCoordinateReferenceSystem wgs84 = QgsCoordinateReferenceSystem::fromOgcWmsCrs( geoEpsgCrsAuthId() );
const QgsCoordinateReferenceSystem wgs84 = QgsCoordinateReferenceSystem::fromOgcWmsCrs( geoEpsgCrsAuthId() );

//transform the layers native CRS into WGS84
if ( !layerExtent.isNull() )
Expand Down

0 comments on commit 4e4aa1f

Please sign in to comment.