loplugin:casttovoid: accessibility
Change-Id: I397c1c51c166d57917d2a412ec8f59c8a24936f2
This commit is contained in:
parent
bd50d82d6f
commit
a04ccfed42
@ -159,9 +159,8 @@ sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleRowSelected( sal_Int3
|
||||
return false;
|
||||
}
|
||||
//columns aren't selectable
|
||||
sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleColumnSelected( sal_Int32 nColumn )
|
||||
sal_Bool SAL_CALL AccessibleGridControlHeader::isAccessibleColumnSelected( sal_Int32 )
|
||||
{
|
||||
(void)nColumn;
|
||||
return false;
|
||||
}
|
||||
//not implemented
|
||||
|
@ -184,9 +184,8 @@ sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleRowSelected( sal_Int32
|
||||
}
|
||||
|
||||
//columns aren't selectable
|
||||
sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleColumnSelected( sal_Int32 nColumn )
|
||||
sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleColumnSelected( sal_Int32 )
|
||||
{
|
||||
(void) nColumn;
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -220,7 +219,6 @@ sal_Bool SAL_CALL AccessibleGridControlTable::isAccessibleSelected(
|
||||
|
||||
ensureIsAlive();
|
||||
ensureIsValidAddress( nRow, nColumn );
|
||||
(void) nColumn;
|
||||
//selection of single cells not possible, so if row is selected, the cell will be selected too
|
||||
return isAccessibleRowSelected(nRow);
|
||||
}
|
||||
@ -282,12 +280,11 @@ AccessibleGridControlTable::getSelectedAccessibleChild( sal_Int32 nSelectedChild
|
||||
}
|
||||
//not implemented yet, because only row selection possible
|
||||
void SAL_CALL AccessibleGridControlTable::deselectAccessibleChild(
|
||||
sal_Int32 nSelectedChildIndex )
|
||||
sal_Int32 )
|
||||
{
|
||||
SolarMutexGuard aSolarGuard;
|
||||
|
||||
ensureIsAlive();
|
||||
(void)nSelectedChildIndex;
|
||||
}
|
||||
// XInterface -----------------------------------------------------------------
|
||||
|
||||
|
@ -226,9 +226,8 @@ namespace accessibility
|
||||
{
|
||||
xMyContext->dispose();
|
||||
}
|
||||
catch( const Exception& e )
|
||||
catch( const Exception& )
|
||||
{
|
||||
(void)e;
|
||||
OSL_FAIL( "EditBrowseBoxTableCellAccess::disposing: caught an exception while disposing the context!" );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user