Skip to content

Commit ae747bf

Browse files
author
morb_au
committedJul 13, 2006

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/core/qgsgeometry.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2096,9 +2096,11 @@ bool QgsGeometry::contains(QgsPoint* p) const
20962096

20972097
geos::Point* geosPoint = geosGeometryFactory->createPoint(geos::Coordinate(p->x(), p->y()));
20982098

2099-
return mGeos->contains(geosPoint);
2099+
returnval = mGeos->contains(geosPoint);
21002100

21012101
delete geosPoint;
2102+
2103+
return returnval;
21022104
}
21032105

21042106

0 commit comments

Comments
 (0)
Please sign in to comment.