diff options
-rw-r--r-- | include/vcl/menu.hxx | 5 | ||||
-rw-r--r-- | unusedcode.easy | 1 | ||||
-rw-r--r-- | vcl/source/window/menu.cxx | 5 |
3 files changed, 2 insertions, 9 deletions
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx index ebb28a3d5525..0cd9752af53f 100644 --- a/include/vcl/menu.hxx +++ b/include/vcl/menu.hxx @@ -237,16 +237,15 @@ public: OString GetCurItemIdent() const; void SetHightlightItem(sal_uInt16 nHighlightedItem); - sal_uInt16 GetHighlightItem() const; void SetDefaultItem( sal_uInt16 nItemId ) { nDefaultItem = nItemId; } - sal_uInt16 GetDefaultItem() const { return nDefaultItem; } + sal_uInt16 GetDefaultItem() const { return nDefaultItem; } void SetItemBits( sal_uInt16 nItemId, MenuItemBits nBits ); MenuItemBits GetItemBits( sal_uInt16 nItemId ) const; void SetUserValue( sal_uInt16 nItemId, sal_uLong nValue ); - sal_uLong GetUserValue( sal_uInt16 nItemId ) const; + sal_uLong GetUserValue( sal_uInt16 nItemId ) const; void SetPopupMenu( sal_uInt16 nItemId, PopupMenu* pMenu ); PopupMenu* GetPopupMenu( sal_uInt16 nItemId ) const; diff --git a/unusedcode.easy b/unusedcode.easy index 83821f1b57bf..a97ed0948694 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -34,7 +34,6 @@ LanguageTag::LanguageTag() LanguageTag::getRegion() const LanguageTag::reset(_rtl_Locale const&) ListBox::GetMRUCount() const -Menu::GetHighlightItem() const MenuBar::AddMenuBarButton(Image const&, Link const&, rtl::OUString const&, unsigned short) MenuBar::GetMenuBarButtonRectPixel(unsigned short) MenuBar::RemoveMenuBarButton(unsigned short) diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 0494619646d0..49cc2b59ee22 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -1579,11 +1579,6 @@ void Menu::SetHightlightItem( sal_uInt16 nItem ) nHighlightedItem = nItem; } -sal_uInt16 Menu::GetHighlightItem() const -{ - return nHighlightedItem; -} - sal_uInt16 Menu::GetCurItemId() const { return nSelectedId; |