Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 20, 2014
1 parent b7ddf71 commit 15fe55c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/mapserver/qgssldconfigparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -528,12 +528,12 @@ bool QgsSLDConfigParser::featureInfoFormatSIA2045() const
return false;
}

void QgsSLDConfigParser::drawOverlays( QPainter* p, int dpi, int width, int height ) const
void QgsSLDConfigParser::drawOverlays( QPainter *, int , int, int ) const
{
//todo: fixme
}

void QgsSLDConfigParser::loadLabelSettings( QgsLabelingEngineInterface* lbl )
void QgsSLDConfigParser::loadLabelSettings( QgsLabelingEngineInterface * )
{
//needs to be here?
}
Expand Down Expand Up @@ -689,12 +689,12 @@ void QgsSLDConfigParser::printCapabilities( QDomElement& parentElement, QDomDocu
}
}

void QgsSLDConfigParser::setScaleDenominator( double denom )
void QgsSLDConfigParser::setScaleDenominator( double )
{
//soon...
}

void QgsSLDConfigParser::addExternalGMLData( const QString& layerName, QDomDocument* gmlDoc )
void QgsSLDConfigParser::addExternalGMLData( const QString &, QDomDocument * )
{
//soon...
}
Expand Down
4 changes: 2 additions & 2 deletions src/mapserver/qgswmsprojectparser.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ class QgsWMSProjectParser: public QgsWMSConfigParser
void printCapabilities( QDomElement& parentElement, QDomDocument& doc ) const;

//todo: fixme
void setScaleDenominator( double denom ) {}
void addExternalGMLData( const QString& layerName, QDomDocument* gmlDoc ) {}
void setScaleDenominator( double ) {}
void addExternalGMLData( const QString& , QDomDocument* ) {}

QList< QPair< QString, QgsLayerCoordinateTransform > > layerCoordinateTransforms() const;

Expand Down

0 comments on commit 15fe55c

Please sign in to comment.