summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-28 09:31:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-28 10:31:03 +0100
commit12217f1b2a66db791c0837b70413523b0852e4c6 (patch)
tree56fb5a8f35f8317500b85a5223d46ef58808092e
parenta385c1072315c56928ac3515935b517c93f14da1 (diff)
coverity#708027 Uninitialized scalar field
Change-Id: If09859accf441b4e0f7f04ba87c8ad71155cda5f
-rw-r--r--sc/source/filter/excel/excrecds.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/filter/excel/excrecds.cxx b/sc/source/filter/excel/excrecds.cxx
index 674861fa4b7b..4f37aac58c5a 100644
--- a/sc/source/filter/excel/excrecds.cxx
+++ b/sc/source/filter/excel/excrecds.cxx
@@ -188,9 +188,11 @@ sal_Size ExcBoolRecord::GetLen( void ) const
//--------------------------------------------------------- class ExcBof_Base -
-ExcBof_Base::ExcBof_Base() :
- nRupBuild( 0x096C ), // copied from Excel
- nRupYear( 0x07C9 ) // copied from Excel
+ExcBof_Base::ExcBof_Base()
+ : nDocType(0)
+ , nVers(0)
+ , nRupBuild(0x096C) // copied from Excel
+ , nRupYear(0x07C9) // copied from Excel
{
}