sfx2/source/dialog/StyleList.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit f27b24837af2bc8ff080375929a9a6f32d26c5dd
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sat Jul 31 20:16:43 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Sat Jul 31 22:53:39 2021 +0200

    cid#1489715 Uninitialized pointer field
    
    Change-Id: I4275e2b79eab63a805a0263edba2997b5966483e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119762
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

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)

Reply via email to