[Libreoffice-commits] .: sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Thu May 17 19:43:17 PDT 2012
sc/source/ui/cctrl/checklistmenu.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 0ea1287bd9b877524706ae57c2fc32ed54fb062b
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Thu May 17 22:45:40 2012 -0400
Actually it's okay to add separator items as-is to the accessible object.
Change-Id: Icd188e92a827a35239c708b5fa65f58fa670e1a5
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx
index f1f8acd..ca85f70 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -289,10 +289,6 @@ Reference<XAccessible> ScMenuFloatingWindow::CreateAccessible()
vector<MenuItemData>::const_iterator itr, itrBeg = maMenuItems.begin(), itrEnd = maMenuItems.end();
for (itr = itrBeg; itr != itrEnd; ++itr)
{
- if (itr->mbSeparator)
- // TODO: Handle this correctly.
- continue;
-
size_t nPos = ::std::distance(itrBeg, itr);
p->appendMenuItem(itr->maText, itr->mbEnabled, nPos);
}
More information about the Libreoffice-commits
mailing list