summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwpsdwdrawheader.hxx')
-rw-r--r--lotuswordpro/source/filter/lwpsdwdrawheader.hxx16
1 files changed, 5 insertions, 11 deletions
diff --git a/lotuswordpro/source/filter/lwpsdwdrawheader.hxx b/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
index c1c13a15f603..36ab257c256e 100644
--- a/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
+++ b/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
@@ -180,20 +180,14 @@ struct SdwColor
struct SdwClosedObjStyleRec
{
- sal_uInt8 nLineWidth;
- sal_uInt8 nLineStyle;
+ sal_uInt8 nLineWidth = 0;
+ sal_uInt8 nLineStyle = 0;
SdwColor aPenColor;
SdwColor aForeColor;
SdwColor aBackColor;
- sal_uInt16 nFillType;
- sal_uInt8 pFillPattern[8];
- SdwClosedObjStyleRec()
- : nLineWidth(0)
- , nLineStyle(0)
- , nFillType(0)
- {
- memset(pFillPattern, 0, sizeof(pFillPattern));
- }
+ sal_uInt16 nFillType = 0;
+ sal_uInt8 pFillPattern[8] = {};
+ SdwClosedObjStyleRec() = default;
};
struct SdwDrawObjHeader