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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Thu May 6 13:50:08 UTC 2021


 sc/source/ui/cctrl/checklistmenu.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit e30b4b641a4828c834e387181c9ea05f9bf6f936
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu May 6 10:02:29 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu May 6 15:49:27 2021 +0200

    cid#1482085 Uninitialized scalar field
    
    Change-Id: I1836b7df127e6e858e5fced679b0fc3754665daa
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115171
    Tested-by: Jenkins
    Reviewed-by: László Németh <nemeth at numbertext.org>

diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 3c8920190eb9..a7ae8ddbd960 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -421,7 +421,8 @@ ScCheckListMenuControl::Config::Config() :
 }
 
 ScCheckListMember::ScCheckListMember()
-    : mbVisible(true)
+    : mnValue(0.0)
+    , mbVisible(true)
     , mbDate(false)
     , mbLeaf(false)
     , mbValue(false)


More information about the Libreoffice-commits mailing list