diff options
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/standard/accessiblemenuitemcomponent.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/accessibility/source/standard/accessiblemenuitemcomponent.cxx b/accessibility/source/standard/accessiblemenuitemcomponent.cxx index 73674c7195f9..6b4bc4c838f5 100644 --- a/accessibility/source/standard/accessiblemenuitemcomponent.cxx +++ b/accessibility/source/standard/accessiblemenuitemcomponent.cxx @@ -202,6 +202,10 @@ OUString OAccessibleMenuItemComponent::GetAccessibleName() if ( sName.isEmpty() ) sName = m_pParent->GetItemText( nItemId ); sName = OutputDevice::GetNonMnemonicString( sName ); +#if defined WNT + if ( m_pParent->GetAccelKey( nItemId ).GetName().getLength() ) + sName = sName + "\t" + m_pParent->GetAccelKey(nItemId).GetName(); +#endif } return sName; |