fix warnings

This commit is contained in:
Juergen E. Fischer 2015-05-31 18:57:39 +02:00
parent 56620e2c58
commit 6a84e07cc2
5 changed files with 5 additions and 5 deletions

View File

@ -99,7 +99,7 @@ QSizeF QgsLayerTreeModelLegendNode::drawSymbolText( const QgsLegendSettings& set
labelSize.rheight() = lines.count() * textHeight + ( lines.count() - 1 ) * settings.lineSpacing();
double labelX, labelY;
double labelX = 0.0, labelY = 0.0;
if ( ctx )
{
ctx->painter->setPen( settings.fontColor() );

View File

@ -23,7 +23,6 @@
#include "qgslogger.h"
// @deprecated in 2.8
QgsMapToPixel::QgsMapToPixel( double mapUnitsPerPixel,
double xc,
double yc,
@ -56,6 +55,7 @@ QgsMapToPixel::QgsMapToPixel()
updateMatrix();
}
// @deprecated in 2.8
QgsMapToPixel::QgsMapToPixel( double mapUnitsPerPixel,
double height,
double ymin,

View File

@ -51,7 +51,7 @@ class QgsPalGeometry : public PalGeometry
QString text() { return mText; }
/** Returns the text component corresponding to a specified label part
* @param partId. Set to -1 for labels which are not broken into parts (eg, non-curved labels), or the required
* @param partId Set to -1 for labels which are not broken into parts (eg, non-curved labels), or the required
* part index for labels which are broken into parts (curved labels)
* @note added in QGIS 2.10
*/

View File

@ -229,7 +229,7 @@ bool QgsOracleFeatureIterator::fetchFeature( QgsFeature& feature )
}
feature.setValid( true );
feature.setFields( &mSource->mFields ); // allow name-based attribute lookups
feature.setFields( mSource->mFields ); // allow name-based attribute lookups
return true;
}

View File

@ -43,7 +43,7 @@ class SERVER_EXPORT QgsServerInterface
/**
* Set the request handler
* @param QgsRequestHandler
* @param requestHandler request handler
*/
virtual void setRequestHandler( QgsRequestHandler* requestHandler ) = 0;