summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-25 10:01:58 +0200
committerNoel Grandin <noel@peralex.com>2014-02-25 15:17:01 +0200
commit1a4822853533933eefc190c6605a029adc1e106d (patch)
tree48fa4cc52f29a3c25e6bcda151dcc18fc4903a79 /vcl
parentb510f69859249fe81546177bae3aad7161a81010 (diff)
remove unused code Menu::GetItemAccKeyStrFromPos(unsigned short)
Change-Id: Ia6967bd5ae412b473187d8bf5485e56fdc934efb
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/menu.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index b0469b118d49..0494619646d0 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -1584,16 +1584,6 @@ sal_uInt16 Menu::GetHighlightItem() const
return nHighlightedItem;
}
-OUString Menu::GetItemAccKeyStrFromPos(sal_uInt16 nPos) const
-{
- MenuItemData* pData = pItemList->GetDataFromPos( nPos );
- if (pData)
- {
- return pData->aAccelKey.GetName();
- }
- return OUString();
-}
-
sal_uInt16 Menu::GetCurItemId() const
{
return nSelectedId;