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@5228 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m
g_j_m committed Apr 8, 2006
1 parent 4e06c28 commit 6a7570f49cda388bab1d2af7e0fbf98c77ed275f
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 6a7570f

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