diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-03 21:35:00 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-03-03 21:35:00 -0600 |
commit | 2bb8ba663633cf48c14cc0a5013ba55376fde260 (patch) | |
tree | 2ed9e023e381c9cb59dfb716503e3a17775e43ef /lotuswordpro | |
parent | 41cf0157b76d2b003f68e5e15102a895374a2811 (diff) |
coverity#738716 Unitialized scalar field
Change-Id: I8378e8af40cfd88e80ea1321576d1acbc21da8c6
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpfribmark.cxx | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/lwpfribmark.cxx b/lotuswordpro/source/filter/lwpfribmark.cxx index eb31fcea0071..0fd7e9deb876 100644 --- a/lotuswordpro/source/filter/lwpfribmark.cxx +++ b/lotuswordpro/source/filter/lwpfribmark.cxx @@ -217,15 +217,16 @@ void LwpFribBookMark::XFConvert(XFContentContainer* pXFPara) * @param: * @param: */ -LwpFribField::LwpFribField( LwpPara* pPara ) : LwpFrib(pPara) +LwpFribField::LwpFribField( LwpPara* pPara ) + : LwpFrib(pPara) + , m_nType(0) + , m_TimeStyle("") + , m_nSubType(0) + , m_sFormula("") + , m_nCrossRefType(0) + , m_nDateTimeType(0) + , m_nDocPowerType(0) { - m_TimeStyle = A2OUSTR(""); - - m_nSubType = 0;//datetime/crossref/other - m_sFormula = A2OUSTR(""); - - m_nCrossRefType = 0; - m_nDateTimeType = 0; } void LwpFribField::Read(LwpObjectStream* pObjStrm, sal_uInt16 /*len*/) |