diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-19 09:19:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-19 09:19:02 +0000 |
commit | 6c272275c54488f231f7523c59fd4900af915fd7 (patch) | |
tree | d535b41a330049a9fa55a876627e774e491917e1 /svx/source | |
parent | b68e42c51823eb1690c0a0fa096124ec607616b2 (diff) |
coverity#1000868 Uninitialized scalar field
Change-Id: I23cac47887588ee9fd413f2c887a3db032287a4d
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/svdraw/svdopath.cxx | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx index c49df1483c96..ad7816ed6e2e 100644 --- a/svx/source/svdraw/svdopath.cxx +++ b/svx/source/svdraw/svdopath.cxx @@ -114,10 +114,35 @@ public: }; ImpSdrPathDragData::ImpSdrPathDragData(const SdrPathObj& rPO, const SdrHdl& rHdl, bool bMuPoDr, const SdrDragStat& rDrag) -: aXP(5), - mbMultiPointDrag(bMuPoDr), - maOrig(rPO.GetPathPoly()), - maHandles(0) + : aXP(5) + , bValid(false) + , bClosed(false) + , nPoly(0) + , nPnt(0) + , nPntAnz(0) + , nPntMax(0) + , bBegPnt(false) + , bEndPnt(false) + , nPrevPnt(0) + , nNextPnt(0) + , bPrevIsBegPnt(false) + , bNextIsEndPnt(false) + , nPrevPrevPnt(0) + , nNextNextPnt(0) + , bControl(false) + , bIsPrevControl(false) + , bIsNextControl(false) + , bPrevIsControl(false) + , bNextIsControl(false) + , nPrevPrevPnt0(0) + , nPrevPnt0(0) + , nPnt0(0) + , nNextPnt0(0) + , nNextNextPnt0(0) + , bEliminate(false) + , mbMultiPointDrag(bMuPoDr) + , maOrig(rPO.GetPathPoly()) + , maHandles(0) { if(mbMultiPointDrag) { |