coverity#984038 Uninitialized scalar variable

Change-Id: Ibab4b201d9412e0d32630957d4c85762c28974bc
This commit is contained in:
Caolán McNamara
2014-03-31 21:35:45 +01:00
parent baa6b723d1
commit 8fdd994aa7

View File

@@ -355,7 +355,7 @@ namespace basegfx
{
const B2DPolygon aCandidate(rCandidate.getB2DPolygon(a));
sal_uInt32 nNewEdgeIndex;
double fNewCut;
double fNewCut(0.0);
const double fNewDistance(getSmallestDistancePointToPolygon(aCandidate, rTestPoint, nNewEdgeIndex, fNewCut));
if(DBL_MAX == fRetval || fNewDistance < fRetval)