[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source
Eike Rathke
erack at redhat.com
Wed Apr 30 12:20:02 PDT 2014
sc/source/ui/cctrl/checklistmenu.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 89c2637e5de1ef36858ddd84e858ea86594e5569
Author: Eike Rathke <erack at redhat.com>
Date: Wed Apr 30 20:17:05 2014 +0100
actually both should be LIST_APPEND
... because SvTreeListBox can hold more than 64k elements.
Change-Id: I138876d84cd9eb42d32ef7f52099e792b55b6384
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index 3082fef..999c9bb 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -1517,7 +1517,7 @@ void ScCheckListMenuWindow::initMembers()
{
if (maMembers[i].mbDate)
{
- maChecks.InsertEntry(maMembers[i].maName, NULL, sal_False, LISTBOX_APPEND, NULL,
+ maChecks.InsertEntry(maMembers[i].maName, NULL, sal_False, LIST_APPEND, NULL,
SvLBoxButtonKind_enabledCheckbox );
maChecks.CheckEntry(maMembers[i].maName, maMembers[i].mpParent, maMembers[i].mbVisible);
@@ -1532,7 +1532,7 @@ void ScCheckListMenuWindow::initMembers()
else
{
SvTreeListEntry* pEntry = maChecks.InsertEntry(
- maMembers[i].maName, NULL, false, LISTBOX_APPEND, NULL,
+ maMembers[i].maName, NULL, false, LIST_APPEND, NULL,
SvLBoxButtonKind_enabledCheckbox);
maChecks.SetCheckButtonState(
More information about the Libreoffice-commits
mailing list