Skip to content
Permalink
Browse files
Fixed typo
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12694 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jan 7, 2010
1 parent cfcfc06 commit 776e7d8bb57f039e70befc8ab2306b77097369c2
Showing with 4 additions and 4 deletions.
  1. +1 −1 src/app/gps/qgsgpsinformationwidget.cpp
  2. +2 −2 src/app/qgsmaptooladdfeature.cpp
  3. +1 −1 src/app/qgsmaptooladdfeature.h
@@ -767,7 +767,7 @@ void QgsGPSInformationWidget::on_mBtnCloseFeature_clicked( )
memcpy( &wkb[position], &y, sizeof( double ) );
f->setGeometryAndOwnership( &wkb[0], size );

int avoidIntersectionsReturn = QgsMapToolAddFeature::avoidIntersectons( f->geometry() );
int avoidIntersectionsReturn = QgsMapToolAddFeature::avoidIntersections( f->geometry() );
if ( avoidIntersectionsReturn == 1 )
{
//not a polygon type. Impossible to get there
@@ -443,7 +443,7 @@ void QgsMapToolAddFeature::canvasReleaseEvent( QMouseEvent * e )
}
f->setGeometryAndOwnership( &wkb[0], size );

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

int QgsMapToolAddFeature::avoidIntersectons( QgsGeometry* g )
int QgsMapToolAddFeature::avoidIntersections( QgsGeometry* g )
{
int returnValue = 0;

@@ -31,5 +31,5 @@ class QgsMapToolAddFeature: public QgsMapToolCapture
@return 2 if avoid intersection would change the geometry type, \
3 other error during intersection removal
@note Consider moving this into analysis lib since it is now used by QgsGpsInformation too. */
static int avoidIntersectons( QgsGeometry* g );
static int avoidIntersections( QgsGeometry* g );
};

0 comments on commit 776e7d8

Please sign in to comment.