[Libreoffice-commits] core.git: sfx2/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Jul 31 20:54:13 UTC 2021


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

New commits:
commit f27b24837af2bc8ff080375929a9a6f32d26c5dd
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jul 31 20:16:43 2021 +0100
Commit:     Caolán McNamara <caolanm at 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 <caolanm at 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)


More information about the Libreoffice-commits mailing list