summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-25 09:53:35 +0200
committerNoel Grandin <noel@peralex.com>2014-02-25 15:17:00 +0200
commitb510f69859249fe81546177bae3aad7161a81010 (patch)
tree002cf42b03ed41fef6ce22e2a2e02c981ceeb09a /vcl
parent9321117acdb64a977b000dfc44d296dddd37500d (diff)
remove unused code Menu::IsTemporaryItemFromPos(unsigned short)
Change-Id: I90a9116aba75316992d2bddaf2f6466288b95bd0
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 bdd52f3d016e..b0469b118d49 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -1594,16 +1594,6 @@ OUString Menu::GetItemAccKeyStrFromPos(sal_uInt16 nPos) const
return OUString();
}
-bool Menu::IsTemporaryItemFromPos(sal_uInt16 nPos ) const
-{
- MenuItemData* pData = pItemList->GetDataFromPos( nPos );
- if (pData)
- {
- return pData->bIsTemporary;
- }
- return false;
-}
-
sal_uInt16 Menu::GetCurItemId() const
{
return nSelectedId;