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

Kohei Yoshida kohei.yoshida at collabora.com
Sun May 18 09:45:18 PDT 2014


 sc/source/ui/cctrl/checklistmenu.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 836328d6473ae1a0c472c7dbf8262641c74843cb
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Sun May 18 12:43:06 2014 -0400

    fdo#78786: No need to insert entries here for date members.
    
    Data member entries are inserted when they are added in addDateMember().
    
    Change-Id: I6cb2e3629053fe2bb49517c4ef8d5c1fee576446

diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 49061fa..1b05eff 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -1511,9 +1511,6 @@ void ScCheckListMenuWindow::initMembers()
     {
         if (maMembers[i].mbDate)
         {
-            maChecks.InsertEntry(maMembers[i].maName, NULL, false, TREELIST_APPEND, NULL,
-                SvLBoxButtonKind_enabledCheckbox );
-
             maChecks.CheckEntry(maMembers[i].maName, maMembers[i].mpParent, maMembers[i].mbVisible);
             // Expand first node of checked dates
             if (!maMembers[i].mpParent && maChecks.IsChecked(maMembers[i].maName,  maMembers[i].mpParent))


More information about the Libreoffice-commits mailing list