summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpnumericfmt.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-02-18 17:06:42 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-02-18 17:41:09 -0600
commit7fe5a66e4dca57c152ab500ef2dc46fe4d6d619b (patch)
tree489cd03068cce6942599be7f043455f420245edc /lotuswordpro/source/filter/lwpnumericfmt.cxx
parent549dfab272e766076124ef912ff36e43fd5941c4 (diff)
coverity#738735 Uninitialized scalar field
Change-Id: I639c30b26302784a5130e063bd0f691d3cb9e0b6
Diffstat (limited to 'lotuswordpro/source/filter/lwpnumericfmt.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpnumericfmt.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpnumericfmt.cxx b/lotuswordpro/source/filter/lwpnumericfmt.cxx
index 3c3992dc967d..2a956dea4d16 100644
--- a/lotuswordpro/source/filter/lwpnumericfmt.cxx
+++ b/lotuswordpro/source/filter/lwpnumericfmt.cxx
@@ -177,11 +177,12 @@ LwpNumericFormatSubset::~LwpNumericFormatSubset()
///////////////////////////////////////////////////////////////////////////////////
LwpNumericFormat::LwpNumericFormat(LwpObjectStream * pStrm)
- : cFormat(FMT_DEFAULT)
+ : m_pObjStrm(pStrm)
+ , cFlags(0)
+ , cFormat(FMT_DEFAULT)
, cDecimalPlaces(0)
{
assert(pStrm);
- m_pObjStrm = pStrm;
}
/**
* Read number format from wordpro file