slidecopy: silence warning 'bout unused parameters

This commit is contained in:
Frank Schoenheit [fs] 2010-04-06 12:16:19 +02:00
parent 84ad85f976
commit ebf2c60048
2 changed files with 7 additions and 0 deletions

View file

@ -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;
}

View file

@ -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;
}