Kaydet (Commit) 0ea1287b authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Actually it's okay to add separator items as-is to the accessible object.

Change-Id: Icd188e92a827a35239c708b5fa65f58fa670e1a5
üst d3289425
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment