summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-22 09:15:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-22 11:39:21 +0100
commit7b659719b0447644e0dbf39f5de3341673b6f392 (patch)
tree5f9fd06b2125e48a1f1d7e4ad556cc70e3a58022 /svtools
parent8c432e5e5982f28c514bbfafb2d155720d0d5bcd (diff)
coverity#708323 Uninitialized scalar field
Change-Id: Iea430ce93ac1add2be76222b8ee9ae6c0da53ff6
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/misc/imap3.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/svtools/source/misc/imap3.cxx b/svtools/source/misc/imap3.cxx
index cc7f745f3f4d..8cb3e8d2d556 100644
--- a/svtools/source/misc/imap3.cxx
+++ b/svtools/source/misc/imap3.cxx
@@ -28,9 +28,11 @@
|*
\******************************************************************************/
-IMapCompat::IMapCompat( SvStream& rStm, const sal_uInt16 nStreamMode ) :
- pRWStm ( &rStm ),
- nStmMode ( nStreamMode )
+IMapCompat::IMapCompat( SvStream& rStm, const sal_uInt16 nStreamMode )
+ : pRWStm(&rStm)
+ , nCompatPos(0)
+ , nTotalSize(0)
+ , nStmMode(nStreamMode)
{
DBG_ASSERT( nStreamMode == STREAM_READ || nStreamMode == STREAM_WRITE, "Wrong Mode!" );