summaryrefslogtreecommitdiff
path: root/sc/source/ui/cctrl
diff options
context:
space:
mode:
authorKohei Yoshida <kohei@openoffice.org>2009-08-21 19:03:06 +0000
committerKohei Yoshida <kohei@openoffice.org>2009-08-21 19:03:06 +0000
commited33032301907f6888b49cacb61ec10f78dee9ae (patch)
tree1c4fb1666c79ae783ce026176fd4995ff184d000 /sc/source/ui/cctrl
parentb6391fb9131b4f345e048cb7c5d7967bd62752a0 (diff)
Supported execution of menu items from the accessible object.
Diffstat (limited to 'sc/source/ui/cctrl')
-rw-r--r--sc/source/ui/cctrl/dpcontrol.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/cctrl/dpcontrol.cxx b/sc/source/ui/cctrl/dpcontrol.cxx
index 3d51baf73a96..bcf01317d3de 100644
--- a/sc/source/ui/cctrl/dpcontrol.cxx
+++ b/sc/source/ui/cctrl/dpcontrol.cxx
@@ -328,7 +328,7 @@ void ScMenuFloatingWindow::MouseButtonDown(const MouseEvent& rMEvt)
void ScMenuFloatingWindow::MouseButtonUp(const MouseEvent& rMEvt)
{
- executeMenu(mnClickedMenu);
+ executeMenuItem(mnClickedMenu);
mnClickedMenu = MENU_NOT_SELECTED;
Window::MouseButtonUp(rMEvt);
}
@@ -375,7 +375,7 @@ void ScMenuFloatingWindow::KeyInput(const KeyEvent& rKEvt)
break;
case KEY_RETURN:
if (nSelectedMenu != MENU_NOT_SELECTED)
- executeMenu(nSelectedMenu);
+ executeMenuItem(nSelectedMenu);
break;
default:
bHandled = false;
@@ -498,7 +498,7 @@ const Font& ScMenuFloatingWindow::getLabelFont() const
return maLabelFont;
}
-void ScMenuFloatingWindow::executeMenu(size_t nPos)
+void ScMenuFloatingWindow::executeMenuItem(size_t nPos)
{
if (nPos >= maMenuItems.size())
return;