summaryrefslogtreecommitdiff
path: root/basegfx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-17 22:02:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-17 22:02:57 +0000
commitd100aaaeacdf99363069319e5936eae9ff21cce9 (patch)
tree9ab64abee5b4848b3dda4b88706cc106b2a76c67 /basegfx/source
parentba9da7f098a32813d9e8c30982c6bcf64ed0c2ff (diff)
coverity#984038 Uninitialized scalar variable
Change-Id: I6c460ea0ca039ccc8d62bb7a7005832fb809f369
Diffstat (limited to 'basegfx/source')
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index 926ff90b5aad..56176e5755de 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -2451,7 +2451,7 @@ namespace basegfx
const sal_uInt32 nNextIndex((a + 1) % nPointCount);
aBezier.setEndPoint(rCandidate.getB2DPoint(nNextIndex));
double fEdgeDist;
- double fNewCut;
+ double fNewCut(0.0);
bool bEdgeIsCurve(false);
if(rCandidate.areControlPointsUsed())