Skip to content

Commit

Permalink
Add const
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Apr 21, 2023
1 parent a0aacf7 commit 4ebf277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsparameters.cpp
Expand Up @@ -2348,7 +2348,7 @@ namespace QgsWms
const QMap<QgsWmsParameters::PdfFormatOption, QString> options = formatOptions<QgsWmsParameters::PdfFormatOption>();
if ( options.contains( PdfFormatOption::PREDEFINED_MAP_SCALES ) )
{
QStringList scaleList = options[PdfFormatOption::PREDEFINED_MAP_SCALES].split( ',' );
const QStringList scaleList = options[PdfFormatOption::PREDEFINED_MAP_SCALES].split( ',' );
for ( const QString &it : std::as_const( scaleList ) )
{
bool ok = false;
Expand Down

0 comments on commit 4ebf277

Please sign in to comment.