Skip to content
Permalink
Browse files
fix #2324
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13724 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Jun 13, 2010
1 parent 78fedde commit 40a8a49fbbc19a050a4554254db22ed0552ede55
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/qgsdistancearea.cpp
@@ -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 40a8a49

Please sign in to comment.