Skip to content

Commit 776e7d8

Browse files
author
timlinux
committed
Fixed typo
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12694 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent cfcfc06 commit 776e7d8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/app/gps/qgsgpsinformationwidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ void QgsGPSInformationWidget::on_mBtnCloseFeature_clicked( )
767767
memcpy( &wkb[position], &y, sizeof( double ) );
768768
f->setGeometryAndOwnership( &wkb[0], size );
769769

770-
int avoidIntersectionsReturn = QgsMapToolAddFeature::avoidIntersectons( f->geometry() );
770+
int avoidIntersectionsReturn = QgsMapToolAddFeature::avoidIntersections( f->geometry() );
771771
if ( avoidIntersectionsReturn == 1 )
772772
{
773773
//not a polygon type. Impossible to get there

src/app/qgsmaptooladdfeature.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
443443
}
444444
f->setGeometryAndOwnership( &wkb[0], size );
445445

446-
int avoidIntersectionsReturn = avoidIntersectons( f->geometry() );
446+
int avoidIntersectionsReturn = avoidIntersections( f->geometry() );
447447
if ( avoidIntersectionsReturn == 1 )
448448
{
449449
//not a polygon type. Impossible to get there
@@ -520,7 +520,7 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
520520
}
521521
}
522522

523-
int QgsMapToolAddFeature::avoidIntersectons( QgsGeometry* g )
523+
int QgsMapToolAddFeature::avoidIntersections( QgsGeometry* g )
524524
{
525525
int returnValue = 0;
526526

src/app/qgsmaptooladdfeature.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ class QgsMapToolAddFeature: public QgsMapToolCapture
3131
@return 2 if avoid intersection would change the geometry type, \
3232
3 other error during intersection removal
3333
@note Consider moving this into analysis lib since it is now used by QgsGpsInformation too. */
34-
static int avoidIntersectons( QgsGeometry* g );
34+
static int avoidIntersections( QgsGeometry* g );
3535
};

0 commit comments

Comments
 (0)