Skip to content

Commit

Permalink
Fix doxygen warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 8, 2015
1 parent d1be2ff commit b55708e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions python/core/qgsvectorlayereditutils.sip
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class QgsVectorLayerEditUtils

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

/** Adds a new part polygon to a multipart feature
@return
Expand Down
4 changes: 2 additions & 2 deletions src/core/qgsvectorlayereditutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ bool QgsVectorLayerEditUtils::deleteVertex( QgsFeatureId atFeatureId, int atVert
return true;
}

int QgsVectorLayerEditUtils::addRing( const QList<QgsPoint>& ring, QgsFeatureId* featureId, const QgsFeatureIds& preferredFeatureIds )
int QgsVectorLayerEditUtils::addRing( const QList<QgsPoint>& ring, QgsFeatureId* modifiedFeatureId, const QgsFeatureIds& preferredFeatureIds )
{
QgsLineStringV2* ringLine = new QgsLineStringV2();
QList< QgsPointV2 > ringPoints;
Expand All @@ -114,7 +114,7 @@ int QgsVectorLayerEditUtils::addRing( const QList<QgsPoint>& ring, QgsFeatureId*
ringPoints.append( QgsPointV2( ringIt->x(), ringIt->y() ) );
}
ringLine->setPoints( ringPoints );
return addRing( ringLine, featureId, preferredFeatureIds );
return addRing( ringLine, modifiedFeatureId, preferredFeatureIds );
}

int QgsVectorLayerEditUtils::addRing( QgsCurveV2* ring, QgsFeatureId* modifiedFeatureId, const QgsFeatureIds& preferredFeatureIds )
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayereditutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class CORE_EXPORT QgsVectorLayerEditUtils

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

0 comments on commit b55708e

Please sign in to comment.