20
20
#include " qgsfeaturepool.h"
21
21
#include " qgsgeometrycheckerror.h"
22
22
23
- void QgsGeometryLineLayerIntersectionCheck::collectErrors ( const QMap<QString, QgsFeaturePool *> &featurePools, const QgsGeometryCheckContext *context, QList<QgsGeometryCheckError *> &errors, QStringList &messages, QgsFeedback *feedback, const LayerFeatureIds &ids ) const
23
+ void QgsGeometryLineLayerIntersectionCheck::collectErrors ( const QMap<QString, QgsFeaturePool *> &featurePools, QList<QgsGeometryCheckError *> &errors, QStringList &messages, QgsFeedback *feedback, const LayerFeatureIds &ids ) const
24
24
{
25
25
Q_UNUSED ( messages )
26
26
@@ -52,7 +52,7 @@ void QgsGeometryLineLayerIntersectionCheck::collectErrors( const QMap<QString, Q
52
52
const QList< QgsPoint > intersections = QgsGeometryCheckerUtils::lineIntersections ( line, testLine, mContext ->tolerance );
53
53
for ( const QgsPoint &inter : intersections )
54
54
{
55
- errors.append ( new QgsGeometryCheckError ( this , context, layerFeature, inter, QgsVertexId ( iPart ), checkFeature.id () ) );
55
+ errors.append ( new QgsGeometryCheckError ( this , layerFeature, inter, QgsVertexId ( iPart ), checkFeature.id () ) );
56
56
}
57
57
}
58
58
else if ( const QgsPolygon *polygon = dynamic_cast <const QgsPolygon *>( part ) )
@@ -63,7 +63,7 @@ void QgsGeometryLineLayerIntersectionCheck::collectErrors( const QMap<QString, Q
63
63
const QList< QgsPoint > intersections = QgsGeometryCheckerUtils::lineIntersections ( line, ring, mContext ->tolerance );
64
64
for ( const QgsPoint &inter : intersections )
65
65
{
66
- errors.append ( new QgsGeometryCheckError ( this , context, layerFeature, inter, QgsVertexId ( iPart ), checkFeature.id () ) );
66
+ errors.append ( new QgsGeometryCheckError ( this , layerFeature, inter, QgsVertexId ( iPart ), checkFeature.id () ) );
67
67
}
68
68
}
69
69
}
0 commit comments