Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 22, 2015
1 parent 2edc85c commit c9c12bc
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion python/core/composer/qgscomposerobject.sip
Expand Up @@ -145,7 +145,7 @@ class QgsComposerObject : QObject
* @param property data defined property to refresh. If property is set to
* QgsComposerItem::AllProperties then all data defined properties for the item will be
* refreshed.
* @context expression context for evaluating data defined expressions
* @param context expression context for evaluating data defined expressions
* @note this method was added in version 2.5
*/
virtual void refreshDataDefinedProperty( const DataDefinedProperty property = AllProperties, const QgsExpressionContext* context = 0 );
Expand Down
4 changes: 2 additions & 2 deletions python/core/qgspallabeling.sip
Expand Up @@ -491,7 +491,7 @@ class QgsPalLayerSettings
* @param f feature to label
* @param context render context. The QgsExpressionContext contained within the render context
* must have already had the feature and fields sets prior to calling this method.
* @param dfxLayer dxfLayer name
* @param dxfLayer dxfLayer name
*/
void registerFeature( QgsFeature& f, const QgsRenderContext& context, QString dxfLayer );

Expand Down Expand Up @@ -746,7 +746,7 @@ class QgsPalLabeling : QgsLabelingEngineInterface
* @param dxfLayer dxfLayer name
*/
virtual void registerFeature( const QString& layerID, QgsFeature& feat, const QgsRenderContext& context = QgsRenderContext(), QString dxfLayer = QString::null );

virtual void registerDiagramFeature( const QString& layerID, QgsFeature& feat, const QgsRenderContext& context = QgsRenderContext() );
//! called when the map is drawn and labels should be placed
virtual void drawLabeling( QgsRenderContext& context );
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerobject.h
Expand Up @@ -178,7 +178,7 @@ class CORE_EXPORT QgsComposerObject: public QObject
* @param property data defined property to refresh. If property is set to
* QgsComposerItem::AllProperties then all data defined properties for the item will be
* refreshed.
* @context expression context for evaluating data defined expressions
* @param context expression context for evaluating data defined expressions
* @note this method was added in version 2.5
*/
virtual void refreshDataDefinedProperty( const DataDefinedProperty property = AllProperties, const QgsExpressionContext* context = 0 );
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgspallabeling.h
Expand Up @@ -466,7 +466,7 @@ class CORE_EXPORT QgsPalLayerSettings
* @param f feature to label
* @param context render context. The QgsExpressionContext contained within the render context
* must have already had the feature and fields sets prior to calling this method.
* @param dfxLayer dxfLayer name
* @param dxfLayer dxfLayer name
*/
void registerFeature( QgsFeature& f, const QgsRenderContext& context, QString dxfLayer );

Expand Down
5 changes: 2 additions & 3 deletions src/gui/qgsvariableeditorwidget.cpp
Expand Up @@ -54,9 +54,6 @@ class VariableEditorDelegate : public QItemDelegate

QIcon QgsVariableEditorTree::mExpandIcon;

/// @endcond


//
// QgsVariableEditorWidget
//
Expand Down Expand Up @@ -754,3 +751,5 @@ void VariableEditorDelegate::setModelData( QWidget* widget, QAbstractItemModel *
}
mParentTree->refreshTree();
}

/// @endcond
6 changes: 0 additions & 6 deletions src/server/qgswfsserver.cpp
Expand Up @@ -468,9 +468,6 @@ int QgsWFSServer::getFeature( QgsRequestHandler& request, const QString& format
}

QgsFeature feature;
QgsAttributeMap featureAttributes;
//const QgsFields& fields = provider->fields();
const QgsFields& fields = layer->pendingFields();

mWithGeom = true;
//QgsAttributeList attrIndexes = provider->attributeIndexes();
Expand Down Expand Up @@ -821,9 +818,6 @@ int QgsWFSServer::getFeature( QgsRequestHandler& request, const QString& format
}

QgsFeature feature;
QgsAttributeMap featureAttributes;
//const QgsFields& fields = provider->fields();
const QgsFields& fields = layer->pendingFields();

//map extent
searchRect = layer->extent();
Expand Down

0 comments on commit c9c12bc

Please sign in to comment.