From 01dca77a77118bf95f0948d38b26088e9b2357b3 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 11 Apr 2014 13:48:59 +0100 Subject: coverity#738684 Uninitialized scalar field Change-Id: I07b698a72ada7a56fb8b63232f25ee5a5edfc185 --- lotuswordpro/source/filter/lwpbasetype.hxx | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lotuswordpro/source/filter/lwpbasetype.hxx b/lotuswordpro/source/filter/lwpbasetype.hxx index 9f83d5100afa..7ca08e1ad62d 100644 --- a/lotuswordpro/source/filter/lwpbasetype.hxx +++ b/lotuswordpro/source/filter/lwpbasetype.hxx @@ -75,7 +75,19 @@ class LwpPanoseNumber { public: - LwpPanoseNumber(){} + LwpPanoseNumber() + : m_nFamilyType(0) + , m_nSerifStyle(0) + , m_nWeight(0) + , m_nProportion(0) + , m_nContrast(0) + , m_nStrokeVariation(0) + , m_nArmStyle(0) + , m_nLetterform(0) + , m_nMidline(0) + , m_nXHeight(0) + { + } ~LwpPanoseNumber(){} public: void Read(LwpObjectStream *pStrm); -- cgit