You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2015/12/02 16:00:54 UTC
svn commit: r1717647 -
/openoffice/trunk/main/basegfx/source/polygon/b2dpolypolygontools.cxx
Author: pfg
Date: Wed Dec 2 15:00:54 2015
New Revision: 1717647
URL: http://svn.apache.org/viewvc?rev=1717647&view=rev
Log:
Uninitialized scalar value
CID: 984038
Modified:
openoffice/trunk/main/basegfx/source/polygon/b2dpolypolygontools.cxx
Modified: openoffice/trunk/main/basegfx/source/polygon/b2dpolypolygontools.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/basegfx/source/polygon/b2dpolypolygontools.cxx?rev=1717647&r1=1717646&r2=1717647&view=diff
==============================================================================
--- openoffice/trunk/main/basegfx/source/polygon/b2dpolypolygontools.cxx (original)
+++ openoffice/trunk/main/basegfx/source/polygon/b2dpolypolygontools.cxx Wed Dec 2 15:00:54 2015
@@ -374,7 +374,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)