summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-01-08 14:44:11 +0000
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2022-01-10 02:09:27 +0100
commit7cc67c60b8ce52292436478a6c739f6d3b79fa94 (patch)
treef093f202d3defa156e6f1fb88e3cc73c646c4e2d
parent4b0b5adf22ee479258a2625d6d12d81160f247d0 (diff)
ofz#43818 delete of uninitialized pointer
Change-Id: I91509915c18c3e9b54cb3047462b9dd9a8c7a46b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128086 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r--lotuswordpro/source/filter/lwpsdwdrawheader.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/lotuswordpro/source/filter/lwpsdwdrawheader.hxx b/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
index 3153b837aaba..13696f453a74 100644
--- a/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
+++ b/lotuswordpro/source/filter/lwpsdwdrawheader.hxx
@@ -271,6 +271,18 @@ struct SdwTextBoxRecord
sal_Int16 nTextRotation;
sal_Int16 nTextExtraSpacing;
sal_uInt8* pTextString;
+ SdwTextBoxRecord()
+ : nTextWidth(0)
+ , nTextHeight(0)
+ , nTextSize(0)
+ , tmpTextFaceName{}
+ , nTextAttrs(0)
+ , nTextCharacterSet(0)
+ , nTextRotation(0)
+ , nTextExtraSpacing(0)
+ , pTextString(nullptr)
+ {
+ }
};
struct SdwFMPATH