From af67b1e670e95582861d6f6537222a35cb07cab5 Mon Sep 17 00:00:00 2001
From: Caolán McNamara <caolanm@redhat.com>
Date: Wed, 23 Apr 2014 09:14:30 +0100
Subject: coverity#738625 Uninitialized scalar field

Change-Id: I00119c518008570af19db0be8112807ef683050b
---
 editeng/source/misc/txtrange.cxx | 20 ++++++++++++++++----
 1 file 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 )
     {
-- 
cgit