summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-11 13:48:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-11 14:11:22 +0100
commit01dca77a77118bf95f0948d38b26088e9b2357b3 (patch)
treed63ea4983bee909b2949eb259340ebadac3e04ca /lotuswordpro
parent46575addc41f13d92f1320a819e8c7ef766974d4 (diff)
coverity#738684 Uninitialized scalar field
Change-Id: I07b698a72ada7a56fb8b63232f25ee5a5edfc185
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpbasetype.hxx14
1 files changed, 13 insertions, 1 deletions
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);