summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-07 09:27:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-07 15:09:04 +0200
commit97a75fa7cc94392f085e592bc6be42c4a0ad6a42 (patch)
tree97321b6aa7d1408d2505259ab46255cb0495ffe0 /xmloff/source/style
parent278ab1f4d2ae8a51c86c8c83f8b445ff28a2bb6a (diff)
cid#1465672 Uninitialized pointer field
Change-Id: I535d59b4f4a48067df33c77bb498bce951c67f89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100291 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'xmloff/source/style')
-rw-r--r--xmloff/source/style/xmlstyle.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx
index 7bd910df2d99..20f72ee256a4 100644
--- a/xmloff/source/style/xmlstyle.cxx
+++ b/xmloff/source/style/xmlstyle.cxx
@@ -216,7 +216,8 @@ public:
SvXMLStyleIndex_Impl( XmlStyleFamily nFam, const OUString& rName ) :
sName( rName ),
- nFamily( nFam )
+ nFamily( nFam ),
+ mpStyle(nullptr)
{
}