Skip to content

Commit da4fa9c

Browse files
committedNov 14, 2012
fix warnings
1 parent f210668 commit da4fa9c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/mapserver/qgsprojectparser.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2461,6 +2461,9 @@ QgsRectangle QgsProjectParser::projectExtent() const
24612461

24622462
void QgsProjectParser::drawOverlays( QPainter* p, int dpi, int width, int height ) const
24632463
{
2464+
Q_UNUSED( width );
2465+
Q_UNUSED( height );
2466+
24642467
//consider DPI
24652468
double scaleFactor = dpi / 88.0; //assume 88 as standard dpi
24662469
QgsRectangle prjExtent = projectExtent();
@@ -2618,6 +2621,8 @@ void QgsProjectParser::cleanupTextAnnotationItems()
26182621
bool QgsProjectParser::annotationPosition( const QDomElement& elem, double scaleFactor,
26192622
double& xPos, double& yPos )
26202623
{
2624+
Q_UNUSED( scaleFactor );
2625+
26212626
xPos = elem.attribute( "canvasPosX" ).toDouble() / scaleFactor;
26222627
yPos = elem.attribute( "canvasPosY" ).toDouble() / scaleFactor;
26232628
return true;

0 commit comments

Comments
 (0)
Please sign in to comment.