Kaydet (Commit) b510f698 authored tarafından Noel Grandin's avatar Noel Grandin

remove unused code Menu::IsTemporaryItemFromPos(unsigned short)

Change-Id: I90a9116aba75316992d2bddaf2f6466288b95bd0
üst 9321117a
......@@ -241,8 +241,6 @@ public:
OUString GetItemAccKeyStrFromPos(sal_uInt16 nPos) const;
bool IsTemporaryItemFromPos(sal_uInt16 nPos) const;
void SetDefaultItem( sal_uInt16 nItemId ) { nDefaultItem = nItemId; }
sal_uInt16 GetDefaultItem() const { return nDefaultItem; }
......
......@@ -37,7 +37,6 @@ LanguageTag::reset(_rtl_Locale const&)
ListBox::GetMRUCount() const
Menu::GetHighlightItem() const
Menu::GetItemAccKeyStrFromPos(unsigned short) const
Menu::IsTemporaryItemFromPos(unsigned short) const
MenuBar::AddMenuBarButton(Image const&, Link const&, rtl::OUString const&, unsigned short)
MenuBar::GetMenuBarButtonRectPixel(unsigned short)
MenuBar::RemoveMenuBarButton(unsigned short)
......
......@@ -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;
......
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