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