Skip to content
Permalink
Browse files
fix #2324
git-svn-id: http://svn.osgeo.org/qgis/trunk@13724 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jun 13, 2010
1 parent 5d2f0eb commit 27e451c
Showing 1 changed file with 3 additions and 0 deletions.
@@ -178,6 +178,9 @@ double QgsDistanceArea::measure( QgsGeometry* geometry )
return 0.0;

unsigned char* wkb = geometry->asWkb();
if ( !wkb )
return 0.0;

unsigned char* ptr;
unsigned int wkbType;
double res, resTotal = 0;

0 comments on commit 27e451c

Please sign in to comment.