diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-28 08:39:57 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-30 06:23:00 +0000 |
commit | a45827b2308febc7369db27fb489a6d1389534e1 (patch) | |
tree | 0b697341738010da35bd0a6a6189ef6761e5db0a /accessibility | |
parent | 2387c2a46e15995686d28dccdfd455012072b4cf (diff) |
loplugin:unusedmethods
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971
Reviewed-on: https://gerrit.libreoffice.org/17378
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/inc/accessibility/extended/accessibletabbarpagelist.hxx | 1 | ||||
-rw-r--r-- | accessibility/source/extended/accessibletabbarpagelist.cxx | 18 |
2 files changed, 0 insertions, 19 deletions
diff --git a/accessibility/inc/accessibility/extended/accessibletabbarpagelist.hxx b/accessibility/inc/accessibility/extended/accessibletabbarpagelist.hxx index 68a1727c56e8..5292b0bcb54b 100644 --- a/accessibility/inc/accessibility/extended/accessibletabbarpagelist.hxx +++ b/accessibility/inc/accessibility/extended/accessibletabbarpagelist.hxx @@ -56,7 +56,6 @@ namespace accessibility sal_Int32 m_nIndexInParent; protected: - void UpdateEnabled( sal_Int32 i, bool bEnabled ); void UpdateShowing( bool bShowing ); void UpdateSelected( sal_Int32 i, bool bSelected ); void UpdatePageText( sal_Int32 i ); diff --git a/accessibility/source/extended/accessibletabbarpagelist.cxx b/accessibility/source/extended/accessibletabbarpagelist.cxx index f8cf1fd3082c..95aaa42f802d 100644 --- a/accessibility/source/extended/accessibletabbarpagelist.cxx +++ b/accessibility/source/extended/accessibletabbarpagelist.cxx @@ -60,24 +60,6 @@ namespace accessibility { } - - - void AccessibleTabBarPageList::UpdateEnabled( sal_Int32 i, bool bEnabled ) - { - if ( i >= 0 && i < (sal_Int32)m_aAccessibleChildren.size() ) - { - Reference< XAccessible > xChild( m_aAccessibleChildren[i] ); - if ( xChild.is() ) - { - AccessibleTabBarPage* pAccessibleTabBarPage = static_cast< AccessibleTabBarPage* >( xChild.get() ); - if ( pAccessibleTabBarPage ) - pAccessibleTabBarPage->SetEnabled( bEnabled ); - } - } - } - - - void AccessibleTabBarPageList::UpdateShowing( bool bShowing ) { for ( size_t i = 0; i < m_aAccessibleChildren.size(); ++i ) |