diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-04-06 12:16:19 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-04-06 12:16:19 +0200 |
commit | ebf2c60048c6d6a6fcab2f408366f8966b70c53d (patch) | |
tree | 2a838df27b83eb3f0fe605d4ee44013c34a6bf83 /accessibility | |
parent | 84ad85f9766e2ee823d159d552dcf5a7d8d1e60e (diff) |
slidecopy: silence warning 'bout unused parameters
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx | 3 | ||||
-rw-r--r-- | accessibility/source/extended/AccessibleToolPanelDeckTabBarItem.cxx | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx b/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx index 39fadc8dd95d..7e97e3714172 100644 --- a/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx +++ b/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx @@ -224,6 +224,7 @@ namespace accessibility void AccessibleToolPanelTabBar_Impl::PanelInserted( const ::svt::PToolPanel& i_pPanel, const size_t i_nPosition ) { ENSURE_OR_RETURN_VOID( i_nPosition <= m_aChildren.size(), "AccessibleToolPanelTabBar_Impl::PanelInserted: illegal position (or invalid cache!)" ); + (void)i_pPanel; m_aChildren.insert( m_aChildren.begin() + i_nPosition, NULL ); m_rAntiImpl.NotifyAccessibleEvent( AccessibleEventId::CHILD, Any(), makeAny( getAccessiblePanelItem( i_nPosition ) ) ); } @@ -248,6 +249,7 @@ namespace accessibility //------------------------------------------------------------------------------------------------------------------ void AccessibleToolPanelTabBar_Impl::LayouterChanged( const ::svt::PDeckLayouter& i_rNewLayouter ) { + (void)i_rNewLayouter; m_rAntiImpl.dispose(); } @@ -435,6 +437,7 @@ namespace accessibility { // don't let the base class generate any A11Y events from VclWindowEvent, we completely manage those // A11Y events ourself + (void)i_rVclWindowEvent; return NULL; } diff --git a/accessibility/source/extended/AccessibleToolPanelDeckTabBarItem.cxx b/accessibility/source/extended/AccessibleToolPanelDeckTabBarItem.cxx index 4da6a3e6fe2e..24130b18aab9 100644 --- a/accessibility/source/extended/AccessibleToolPanelDeckTabBarItem.cxx +++ b/accessibility/source/extended/AccessibleToolPanelDeckTabBarItem.cxx @@ -199,6 +199,7 @@ namespace accessibility //------------------------------------------------------------------------------------------------------------------ void AccessibleToolPanelDeckTabBarItem_Impl::PanelInserted( const ::svt::PToolPanel& i_pPanel, const size_t i_nPosition ) { + (void)i_pPanel; if ( i_nPosition <= m_nItemPos ) ++m_nItemPos; impl_notifyBoundRectChanges(); @@ -236,6 +237,7 @@ namespace accessibility //------------------------------------------------------------------------------------------------------------------ void AccessibleToolPanelDeckTabBarItem_Impl::LayouterChanged( const ::svt::PDeckLayouter& i_rNewLayouter ) { + (void)i_rNewLayouter; // if the tool panel deck has a new layouter, then the old layouter, and thus all items it was // responsible for, died. So do we. dispose(); @@ -296,6 +298,7 @@ namespace accessibility //-------------------------------------------------------------------- Reference< XAccessible > SAL_CALL AccessibleToolPanelDeckTabBarItem::getAccessibleChild( sal_Int32 i ) throw (IndexOutOfBoundsException, RuntimeException) { + (void)i; throw IndexOutOfBoundsException( ::rtl::OUString(), *this ); } @@ -371,6 +374,7 @@ namespace accessibility { ItemMethodGuard aGuard( *m_pImpl ); // we do not have children ... + (void)i_rLocation; return NULL; } |