summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-11 13:32:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-11 14:11:21 +0100
commit7f64da067644972ea7990977e1f45ab588166c15 (patch)
tree6285a9889db2b45d3620ce03f9cbb0b86d257946 /lotuswordpro
parent3b404264a8724a945dc1d87f995d611eccaf8870 (diff)
coverity#738702 Uninitialized scalar field
Change-Id: I7187d110c52af5f333fe627270f1dc1a578da8bf
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpsdwdrawheader.hxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwpsdwdrawheader.hxx b/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
index 8ccbcebc83ce..7a9fcd463e6e 100644
--- a/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
+++ b/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
@@ -156,6 +156,11 @@ struct SdwPoint
{
sal_Int16 x;
sal_Int16 y;
+ SdwPoint()
+ : x(0)
+ , y(0)
+ {
+ }
};
struct SdwColor
@@ -251,6 +256,11 @@ struct SdwFMPATH
{
sal_uInt16 n;
SdwPoint* pPts;
+ SdwFMPATH()
+ : n(0)
+ , pPts(NULL)
+ {
+ }
};
struct SdwTextArt : public SdwTextBoxRecord
@@ -259,6 +269,12 @@ struct SdwTextArt : public SdwTextBoxRecord
sal_Int16 nRotation;
sal_uInt16 nTextLen;
SdwFMPATH aPath[2];
+ SdwTextArt()
+ : nIndex(0)
+ , nRotation(0)
+ , nTextLen(0)
+ {
+ }
};
struct SdwBmpRecord