Skip to content
Permalink
Browse files

Resolve the 'return a temp variable' example given in ticket #17

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5228 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Apr 8, 2006
1 parent 3d9fca4 commit 9319ebce2f2246634cde843c69ae55566d9deba6
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/qgsfeature.cpp
@@ -377,7 +377,8 @@ QString const & QgsFeature::wellKnownText() const
}
else
{
return QString::null; // TODO: Test for mGeometry in all functions of this class
static QString emptyString("");
return emptyString; // TODO: Test for mGeometry in all functions of this class
}
/*
if(mWKT.isNull())

0 comments on commit 9319ebc

Please sign in to comment.
You can’t perform that action at this time.