diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-23 09:14:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-23 09:40:05 +0100 |
commit | af67b1e670e95582861d6f6537222a35cb07cab5 (patch) | |
tree | fb9625af396c3516afd0d06a1af6259fb89376f6 | |
parent | a86b6727d302c9b3336f09674cec9dbdb7e93183 (diff) |
coverity#738625 Uninitialized scalar field
Change-Id: I00119c518008570af19db0be8112807ef683050b
-rw-r--r-- | editeng/source/misc/txtrange.cxx | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/editeng/source/misc/txtrange.cxx b/editeng/source/misc/txtrange.cxx index 6a201b6b6d95..2a4b7cdb6501 100644 --- a/editeng/source/misc/txtrange.cxx +++ b/editeng/source/misc/txtrange.cxx @@ -146,10 +146,22 @@ public: SvxBoundArgs::SvxBoundArgs( TextRanger* pRanger, LongDqPtr pLong, const Range& rRange ) - : pLongArr( pLong ), pTextRanger( pRanger ), - nTop( rRange.Min() ), nBottom( rRange.Max() ), - bInner( pRanger->IsInner() ), bMultiple( bInner || !pRanger->IsSimple() ), - bConcat( false ), bRotate( pRanger->IsVertical() ) + : pLongArr(pLong) + , pTextRanger(pRanger) + , nMin(0) + , nMax(0) + , nTop(rRange.Min()) + , nBottom(rRange.Max()) + , nCut(0) + , nLast(0) + , nNext(0) + , nAct(0) + , nFirst(0) + , bClosed(false) + , bInner(pRanger->IsInner()) + , bMultiple(bInner || !pRanger->IsSimple()) + , bConcat(false) + , bRotate(pRanger->IsVertical()) { if( bRotate ) { |