From f27b24837af2bc8ff080375929a9a6f32d26c5dd Mon Sep 17 00:00:00 2001
From: Caolán McNamara <caolanm@redhat.com>
Date: Sat, 31 Jul 2021 20:16:43 +0100
Subject: cid#1489715 Uninitialized pointer field
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Change-Id: I4275e2b79eab63a805a0263edba2997b5966483e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119762
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
---
 sfx2/source/dialog/StyleList.cxx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'sfx2')

diff --git a/sfx2/source/dialog/StyleList.cxx b/sfx2/source/dialog/StyleList.cxx
index 8525c620b2dd..27c05c6ff27e 100644
--- a/sfx2/source/dialog/StyleList.cxx
+++ b/sfx2/source/dialog/StyleList.cxx
@@ -98,6 +98,7 @@ StyleList::StyleList(weld::Builder* pBuilder, std::optional<SfxStyleFamilies> xF
     , m_xFmtLb(pBuilder->weld_tree_view(flatviewname))
     , m_xTreeBox(pBuilder->weld_tree_view(treeviewname))
     , m_xStyleFamilies(xFamilies)
+    , m_pCurObjShell(nullptr)
     , m_nActFamily(0xffff)
     , m_nAppFilter(SfxStyleSearchBits::Auto)
     , m_pParentDialog(Parent)
-- 
cgit