Skip to content

Commit

Permalink
Update src/server/services/wms/qgswmsrenderer.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
  • Loading branch information
mhugent and elpaso committed Aug 2, 2021
1 parent 88e1ae8 commit 2a7d6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -167,7 +167,7 @@ namespace QgsWms
//test if legend image is larger than max width/height
if ( !mContext.isValidWidthHeight( size.width(), size.height() ) )
{
throw ( QgsServerException( QStringLiteral( "Legend image is too large" ) ) );
throw QgsServerException( QStringLiteral( "Legend image is too large" ) );
}
std::unique_ptr<QImage> image( createImage( size ) );

Expand Down

0 comments on commit 2a7d6c7

Please sign in to comment.