ofz#43818 delete of uninitialized pointer

Change-Id: I91509915c18c3e9b54cb3047462b9dd9a8c7a46b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128141
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2022-01-08 14:44:11 +00:00
parent e28f4b6bcc
commit b4a281af53

View File

@@ -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