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 4e4b978 commit 88e1ae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -130,7 +130,7 @@ namespace QgsWms
const QSize size( static_cast<int>( minSize.width() * dpmm ), static_cast<int>( minSize.height() * dpmm ) );
if ( !mContext.isValidWidthHeight( size.width(), size.height() ) )
{
throw ( QgsServerException( QStringLiteral( "Legend image is too large" ) ) );
throw QgsServerException( QStringLiteral( "Legend image is too large" ) );
}
image.reset( createImage( size ) );

Expand Down

0 comments on commit 88e1ae8

Please sign in to comment.