summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-01 09:03:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-01 17:28:16 +0200
commit2a20061420b87ee37fa85b20fbc75f0a82f409f2 (patch)
tree9ee65376928d7d1f496defdde7247a44b6689046
parent9146658c0108120c91ce6f759e37b9fa64e47660 (diff)
cid#1466574 Uninitialized scalar field
Change-Id: I8ec87810cd32b720a77930cdd607ace4d907d7a2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101825 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--xmloff/source/draw/XMLNumberStyles.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmloff/source/draw/XMLNumberStyles.cxx b/xmloff/source/draw/XMLNumberStyles.cxx
index 4406f4e85a06..cf171cba5c85 100644
--- a/xmloff/source/draw/XMLNumberStyles.cxx
+++ b/xmloff/source/draw/XMLNumberStyles.cxx
@@ -583,6 +583,7 @@ void SdXMLNumberFormatMemberImportContext::characters( const OUString& rChars )
SdXMLNumberFormatImportContext::SdXMLNumberFormatImportContext( SdXMLImport& rImport, sal_Int32 nElement, SvXMLNumImpData* pNewData, SvXMLStylesTokens nNewType, const css::uno::Reference< css::xml::sax::XFastAttributeList>& xAttrList, SvXMLStylesContext& rStyles)
: SvXMLNumFormatContext(rImport, nElement, pNewData, nNewType, xAttrList, rStyles),
mbAutomatic( false ),
+ mnElements{},
mnIndex(0),
mnKey( -1 )
{