summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-23 14:44:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-23 18:50:58 +0100
commit14a86738287a2f5b66e89aa0a9f5cb66ce3e7f53 (patch)
tree9eb0fdae32a4c0a3010b840245be8b1d618f1add /starmath
parentd58e34c8234f7dacc136092c280cc7808fdfb0de (diff)
coverity#708231 Uninitialized scalar field
Change-Id: I71190e7d5fe31e398f49e7bffba58c9a1818a9b3
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/eqnolefilehdr.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/starmath/source/eqnolefilehdr.hxx b/starmath/source/eqnolefilehdr.hxx
index e2704b878a32..2c0e6143c091 100644
--- a/starmath/source/eqnolefilehdr.hxx
+++ b/starmath/source/eqnolefilehdr.hxx
@@ -31,7 +31,9 @@ class SotStorage;
class EQNOLEFILEHDR
{
public:
- EQNOLEFILEHDR() {}
+ EQNOLEFILEHDR() : nCBHdr(0),nVersion(0),
+ nCf(0),nCBObject(0),nReserved1(0),nReserved2(0),
+ nReserved3(0), nReserved4(0) {}
EQNOLEFILEHDR(sal_uInt32 nLenMTEF) : nCBHdr(0x1c),nVersion(0x20000),
nCf(0xc1c6),nCBObject(nLenMTEF),nReserved1(0),nReserved2(0x0014F690),
nReserved3(0x0014EBB4), nReserved4(0) {}