diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-05-17 22:45:40 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-05-17 22:45:40 -0400 |
commit | 0ea1287bd9b877524706ae57c2fc32ed54fb062b (patch) | |
tree | 395b9669694a7ed304826c11bcff9afb8fc22e6a | |
parent | d3289425003bf1a8d074dc82d80f50dbdd084658 (diff) |
Actually it's okay to add separator items as-is to the accessible object.
Change-Id: Icd188e92a827a35239c708b5fa65f58fa670e1a5
-rw-r--r-- | sc/source/ui/cctrl/checklistmenu.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index f1f8acd9de42..ca85f70e9944 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); } |