Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove unused parameter
  • Loading branch information
pblottiere committed Oct 31, 2019
1 parent 0a2b92a commit 624ae03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/server/services/wms/qgswmsrenderer.cpp
Expand Up @@ -952,7 +952,7 @@ namespace QgsWms
else if ( infoFormat == QgsWmsParameters::Format::HTML )
ba = convertFeatureInfoToHtml( result );
else if ( infoFormat == QgsWmsParameters::Format::JSON )
ba = convertFeatureInfoToJson( layers, result, mapSettings.destinationCrs() );
ba = convertFeatureInfoToJson( layers, result );
else
ba = result.toByteArray();

Expand Down Expand Up @@ -2156,7 +2156,7 @@ namespace QgsWms
return featureInfoString.toUtf8();
}

QByteArray QgsRenderer::convertFeatureInfoToJson( const QList<QgsMapLayer *> &layers, const QDomDocument &doc, const QgsCoordinateReferenceSystem &crs ) const
QByteArray QgsRenderer::convertFeatureInfoToJson( const QList<QgsMapLayer *> &layers, const QDomDocument &doc ) const
{
json json
{
Expand Down
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsrenderer.h
Expand Up @@ -253,7 +253,7 @@ namespace QgsWms
QByteArray convertFeatureInfoToText( const QDomDocument &doc ) const;

//! Converts a feature info xml document to json
QByteArray convertFeatureInfoToJson( const QList<QgsMapLayer *> &layers, const QDomDocument &doc, const QgsCoordinateReferenceSystem &crs ) const;
QByteArray convertFeatureInfoToJson( const QList<QgsMapLayer *> &layers, const QDomDocument &doc ) const;

QDomElement createFeatureGML(
const QgsFeature *feat,
Expand Down

0 comments on commit 624ae03

Please sign in to comment.