diff options
Diffstat (limited to 'vcl/source/window/menu.cxx')
-rw-r--r-- | vcl/source/window/menu.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index 64549365efd9..1506724c881e 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -2339,18 +2339,6 @@ Rectangle Menu::GetBoundingRectangle( sal_uInt16 nPos ) const return aRet; } -void Menu::SetAccessibleName( sal_uInt16 nItemId, const OUString& rStr ) -{ - size_t nPos; - MenuItemData* pData = pItemList->GetData( nItemId, nPos ); - - if (pData && !rStr.equals(pData->aAccessibleName)) - { - pData->aAccessibleName = rStr; - ImplCallEventListeners(VCLEVENT_MENU_ACCESSIBLENAMECHANGED, nPos); - } -} - OUString Menu::GetAccessibleName( sal_uInt16 nItemId ) const { MenuItemData* pData = pItemList->GetData( nItemId ); |