summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-28 09:34:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-28 10:31:03 +0100
commit1c843ef7bf2c4bf1c981b4f1e81e6c8cd2106513 (patch)
tree3361576885a98914c38a002860d06e124ffafe2e
parentd9f95530630bef21c2b0e9e6c226c9508daa7aa0 (diff)
coverity#708033 Uninitialized scalar field
Change-Id: Ia38eb70180ba783c72f2e91fc1c5792cbb88d8f9
-rw-r--r--sc/source/filter/excel/xestyle.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index 848d2c2ac357..18b4d846362c 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -1207,7 +1207,7 @@ XclExpNumFmtBuffer::XclExpNumFmtBuffer( const XclExpRoot& rRoot ) :
{
case EXC_BIFF5: mnXclOffset = EXC_FORMAT_OFFSET5; break;
case EXC_BIFF8: mnXclOffset = EXC_FORMAT_OFFSET8; break;
- default: DBG_ERROR_BIFF();
+ default: mnXclOffset = 0; DBG_ERROR_BIFF();
}
mxFormatter->FillKeywordTable( *mpKeywordTable, LANGUAGE_ENGLISH_US );