Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update src/server/services/wms/qgswmsparameters.cpp
Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
  • Loading branch information
mhugent and elpaso committed Apr 21, 2023
1 parent a4d806b commit 4b74b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsparameters.cpp
Expand Up @@ -2349,7 +2349,7 @@ namespace QgsWms
if ( options.contains( PdfFormatOption::PREDEFINED_MAP_SCALES ) )
{
QStringList scaleList = options[PdfFormatOption::PREDEFINED_MAP_SCALES].split( ',' );
for ( const auto &it : scaleList )
for ( const QString &it : std::as_const( scaleList ) )
{
bool ok = false;
qreal scale = it.toDouble( &ok );
Expand Down

0 comments on commit 4b74b74

Please sign in to comment.