Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Resolve the 'return a temp variable' example given in ticket #17
git-svn-id: http://svn.osgeo.org/qgis/trunk@5228 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Apr 8, 2006
1 parent 4e06c28 commit 6a7570f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/qgsfeature.cpp
Expand Up @@ -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())
Expand Down

0 comments on commit 6a7570f

Please sign in to comment.