Skip to content

Commit c9c12bc

Browse files
committedAug 22, 2015
Fix warnings
1 parent 2edc85c commit c9c12bc

File tree

6 files changed

+7
-14
lines changed

6 files changed

+7
-14
lines changed
 

‎python/core/composer/qgscomposerobject.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class QgsComposerObject : QObject
145145
* @param property data defined property to refresh. If property is set to
146146
* QgsComposerItem::AllProperties then all data defined properties for the item will be
147147
* refreshed.
148-
* @context expression context for evaluating data defined expressions
148+
* @param context expression context for evaluating data defined expressions
149149
* @note this method was added in version 2.5
150150
*/
151151
virtual void refreshDataDefinedProperty( const DataDefinedProperty property = AllProperties, const QgsExpressionContext* context = 0 );

‎python/core/qgspallabeling.sip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ class QgsPalLayerSettings
491491
* @param f feature to label
492492
* @param context render context. The QgsExpressionContext contained within the render context
493493
* must have already had the feature and fields sets prior to calling this method.
494-
* @param dfxLayer dxfLayer name
494+
* @param dxfLayer dxfLayer name
495495
*/
496496
void registerFeature( QgsFeature& f, const QgsRenderContext& context, QString dxfLayer );
497497

@@ -746,7 +746,7 @@ class QgsPalLabeling : QgsLabelingEngineInterface
746746
* @param dxfLayer dxfLayer name
747747
*/
748748
virtual void registerFeature( const QString& layerID, QgsFeature& feat, const QgsRenderContext& context = QgsRenderContext(), QString dxfLayer = QString::null );
749-
749+
750750
virtual void registerDiagramFeature( const QString& layerID, QgsFeature& feat, const QgsRenderContext& context = QgsRenderContext() );
751751
//! called when the map is drawn and labels should be placed
752752
virtual void drawLabeling( QgsRenderContext& context );

‎src/core/composer/qgscomposerobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class CORE_EXPORT QgsComposerObject: public QObject
178178
* @param property data defined property to refresh. If property is set to
179179
* QgsComposerItem::AllProperties then all data defined properties for the item will be
180180
* refreshed.
181-
* @context expression context for evaluating data defined expressions
181+
* @param context expression context for evaluating data defined expressions
182182
* @note this method was added in version 2.5
183183
*/
184184
virtual void refreshDataDefinedProperty( const DataDefinedProperty property = AllProperties, const QgsExpressionContext* context = 0 );

‎src/core/qgspallabeling.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ class CORE_EXPORT QgsPalLayerSettings
466466
* @param f feature to label
467467
* @param context render context. The QgsExpressionContext contained within the render context
468468
* must have already had the feature and fields sets prior to calling this method.
469-
* @param dfxLayer dxfLayer name
469+
* @param dxfLayer dxfLayer name
470470
*/
471471
void registerFeature( QgsFeature& f, const QgsRenderContext& context, QString dxfLayer );
472472

‎src/gui/qgsvariableeditorwidget.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ class VariableEditorDelegate : public QItemDelegate
5454

5555
QIcon QgsVariableEditorTree::mExpandIcon;
5656

57-
/// @endcond
58-
59-
6057
//
6158
// QgsVariableEditorWidget
6259
//
@@ -754,3 +751,5 @@ void VariableEditorDelegate::setModelData( QWidget* widget, QAbstractItemModel *
754751
}
755752
mParentTree->refreshTree();
756753
}
754+
755+
/// @endcond

‎src/server/qgswfsserver.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -468,9 +468,6 @@ int QgsWFSServer::getFeature( QgsRequestHandler& request, const QString& format
468468
}
469469

470470
QgsFeature feature;
471-
QgsAttributeMap featureAttributes;
472-
//const QgsFields& fields = provider->fields();
473-
const QgsFields& fields = layer->pendingFields();
474471

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

823820
QgsFeature feature;
824-
QgsAttributeMap featureAttributes;
825-
//const QgsFields& fields = provider->fields();
826-
const QgsFields& fields = layer->pendingFields();
827821

828822
//map extent
829823
searchRect = layer->extent();

0 commit comments

Comments
 (0)
Please sign in to comment.