diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-11 13:27:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-11 14:11:21 +0100 |
commit | 3b404264a8724a945dc1d87f995d611eccaf8870 (patch) | |
tree | 3ba00127a14fdaecb1914fddcd6d5d917dc71f39 /lotuswordpro/source | |
parent | 2696a2da53c7a8d8d8ae3de01e45be1439323050 (diff) |
coverity#738704 Uninitialized scalar field
Change-Id: I1556fbc14f616c883f3a6ed9f96aadd718530196
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r-- | lotuswordpro/source/filter/lwpsdwdrawheader.hxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwpsdwdrawheader.hxx b/lotuswordpro/source/filter/lwpsdwdrawheader.hxx index 4fc28c839575..8ccbcebc83ce 100644 --- a/lotuswordpro/source/filter/lwpsdwdrawheader.hxx +++ b/lotuswordpro/source/filter/lwpsdwdrawheader.hxx @@ -164,6 +164,13 @@ struct SdwColor sal_uInt8 nG; sal_uInt8 nB; sal_uInt8 unused; + SdwColor() + : nR(0) + , nG(0) + , nB(0) + , unused(0) + { + } }; struct SdwClosedObjStyleRec @@ -209,6 +216,13 @@ struct SdwPolyLineRecord sal_uInt8 nLineStyle; SdwColor aPenColor; sal_uInt16 nNumPoints; + SdwPolyLineRecord() + : nLineWidth(0) + , nLineEnd(0) + , nLineStyle(0) + , nNumPoints(0) + { + } }; struct SdwArcRecord |