diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-22 13:31:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-23 08:41:46 +0200 |
commit | 95aad95fbec35c3aab777b176218a29821f79574 (patch) | |
tree | 860e5fc0890830b27c391b4492d6b91631ef9850 /accessibility/source/extended/accessibletabbarpagelist.cxx | |
parent | e412e16d56caf426bac04c7e5966e2a9efa7c408 (diff) |
inline a handful of use-once #defines
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
Diffstat (limited to 'accessibility/source/extended/accessibletabbarpagelist.cxx')
-rwxr-xr-x | accessibility/source/extended/accessibletabbarpagelist.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/accessibility/source/extended/accessibletabbarpagelist.cxx b/accessibility/source/extended/accessibletabbarpagelist.cxx index 33b5dd518f97..f8cf1fd3082c 100755 --- a/accessibility/source/extended/accessibletabbarpagelist.cxx +++ b/accessibility/source/extended/accessibletabbarpagelist.cxx @@ -239,26 +239,6 @@ namespace accessibility UpdateShowing( false ); } break; - case VCLEVENT_TABBAR_PAGEENABLED: - { - if ( m_pTabBar ) - { - sal_uInt16 nPageId = (sal_uInt16)reinterpret_cast<sal_IntPtr>(rVclWindowEvent.GetData()); - sal_uInt16 nPagePos = m_pTabBar->GetPagePos( nPageId ); - UpdateEnabled( nPagePos, true ); - } - } - break; - case VCLEVENT_TABBAR_PAGEDISABLED: - { - if ( m_pTabBar ) - { - sal_uInt16 nPageId = (sal_uInt16)reinterpret_cast<sal_IntPtr>(rVclWindowEvent.GetData()); - sal_uInt16 nPagePos = m_pTabBar->GetPagePos( nPageId ); - UpdateEnabled( nPagePos, false ); - } - } - break; case VCLEVENT_TABBAR_PAGESELECTED: { // do nothing |