Skip to content

Commit b55708e

Browse files
committedOct 8, 2015
Fix doxygen warning
1 parent d1be2ff commit b55708e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎python/core/qgsvectorlayereditutils.sip

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class QgsVectorLayerEditUtils
2727

2828
/** Adds a ring to polygon/multipolygon features
2929
* @param ring ring to add
30-
* @param featureId if specified, feature ID for feature ring was added to will be stored in this parameter
30+
* @param modifiedFeatureId if specified, feature ID for feature ring was added to will be stored in this parameter
3131
* @param preferredFeatureIds if specified, the features will be the first candidates for adding a ring. Otherwise
3232
* all intersecting features are tested and the ring is added to the first valid feature.
3333
@return
@@ -37,7 +37,7 @@ class QgsVectorLayerEditUtils
3737
3 ring not valid,
3838
4 ring crosses existing rings,
3939
5 no feature found where ring can be inserted*/
40-
int addRing( const QList<QgsPoint>& ring, QgsFeatureId* featureId = 0 );
40+
int addRing( const QList<QgsPoint>& ring, QgsFeatureId* modifiedFeatureId = 0 );
4141

4242
/** Adds a new part polygon to a multipart feature
4343
@return

‎src/core/qgsvectorlayereditutils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ bool QgsVectorLayerEditUtils::deleteVertex( QgsFeatureId atFeatureId, int atVert
104104
return true;
105105
}
106106

107-
int QgsVectorLayerEditUtils::addRing( const QList<QgsPoint>& ring, QgsFeatureId* featureId, const QgsFeatureIds& preferredFeatureIds )
107+
int QgsVectorLayerEditUtils::addRing( const QList<QgsPoint>& ring, QgsFeatureId* modifiedFeatureId, const QgsFeatureIds& preferredFeatureIds )
108108
{
109109
QgsLineStringV2* ringLine = new QgsLineStringV2();
110110
QList< QgsPointV2 > ringPoints;
@@ -114,7 +114,7 @@ int QgsVectorLayerEditUtils::addRing( const QList<QgsPoint>& ring, QgsFeatureId*
114114
ringPoints.append( QgsPointV2( ringIt->x(), ringIt->y() ) );
115115
}
116116
ringLine->setPoints( ringPoints );
117-
return addRing( ringLine, featureId, preferredFeatureIds );
117+
return addRing( ringLine, modifiedFeatureId, preferredFeatureIds );
118118
}
119119

120120
int QgsVectorLayerEditUtils::addRing( QgsCurveV2* ring, QgsFeatureId* modifiedFeatureId, const QgsFeatureIds& preferredFeatureIds )

‎src/core/qgsvectorlayereditutils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class CORE_EXPORT QgsVectorLayerEditUtils
6969

7070
/** Adds a ring to polygon/multipolygon features
7171
* @param ring ring to add
72-
* @param featureId if specified, feature ID for feature ring was added to will be stored in this parameter
72+
* @param modifiedFeatureId if specified, feature ID for feature ring was added to will be stored in this parameter
7373
* @param preferredFeatureIds if specified, the features will be the first candidates for adding a ring. Otherwise
7474
* all intersecting features are tested and the ring is added to the first valid feature.
7575
@return

0 commit comments

Comments
 (0)
Please sign in to comment.