diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-02 14:38:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-02 21:23:23 +0200 |
commit | 6df92df74b68d5965ae3fbe9ce5cdc484f03ff20 (patch) | |
tree | 9d5d74794122af6bdab4839fc96162c86424e371 /accessibility | |
parent | 344a87f0bc4027825480e1c44235bd6d8d8fc2aa (diff) |
loplugin:virtualdead
Change-Id: I5698862e5890d3208bc7012b0ce5b60520797c2d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91571
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/extended/accessiblelistboxentry.cxx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx index c5e65ee5a1d4..7b5b055f4d95 100644 --- a/accessibility/source/extended/accessiblelistboxentry.cxx +++ b/accessibility/source/extended/accessiblelistboxentry.cxx @@ -444,7 +444,7 @@ namespace accessibility SvTreeListEntry* pEntry = m_pTreeListBox->GetEntryFromPath( m_aEntryPath ); if( getAccessibleRole() == AccessibleRole::TREE_ITEM ) { - return m_pTreeListBox->GetEntryLongDescription( pEntry ); + return OUString(); } //want to count the real column number in the list box. sal_uInt16 iRealItemCount = 0; @@ -476,17 +476,7 @@ namespace accessibility EnsureIsAlive(); - OUString sRet(implGetText()); - - SvTreeListEntry* pEntry = m_pTreeListBox->GetEntryFromPath( m_aEntryPath ); - - OUString altText = m_pTreeListBox->GetEntryAltText( pEntry ); - if (!altText.isEmpty()) - { - sRet += " " + altText; - } - - return sRet; + return implGetText(); } Reference< XAccessibleRelationSet > SAL_CALL AccessibleListBoxEntry::getAccessibleRelationSet( ) |