From 59f4b3fa1d2dec69d37d6c9d4babff8ecc55e24b Mon Sep 17 00:00:00 2001 From: mhugent Date: Thu, 27 Nov 2008 14:15:27 +0000 Subject: [PATCH] Function name without get, changed more function calls to use numberOfGeometries() git-svn-id: http://svn.osgeo.org/qgis/trunk@9713 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/core/qgsgeometry.cpp | 10 +++++----- src/core/qgsgeometry.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/qgsgeometry.cpp b/src/core/qgsgeometry.cpp index 1eff8932e5c2..cb9d08cca448 100644 --- a/src/core/qgsgeometry.cpp +++ b/src/core/qgsgeometry.cpp @@ -4832,7 +4832,7 @@ int QgsGeometry::splitPolygonGeometry( GEOSGeometry* splitLine, QList 0 ) + if ( numberOfGeometries( cutEdges ) > 0 ) { GEOSGeom_destroy( cutEdges ); GEOSGeom_destroy( nodedGeometry ); @@ -4844,7 +4844,7 @@ int QgsGeometry::splitPolygonGeometry( GEOSGeometry* splitLine, QList& splitResult );