diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:36:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:36:06 +0200 |
commit | a04ccfed42b41e3753f11dc93b2da3ba1e1ed24a (patch) | |
tree | b66b2fe19bdf1c2cdb48ad5bc319136937b9292b /accessibility | |
parent | bd50d82d6fee6788420099ac973ea0782b015fa4 (diff) |
loplugin:casttovoid: accessibility
Change-Id: I397c1c51c166d57917d2a412ec8f59c8a24936f2
Diffstat (limited to 'accessibility')
3 files changed, 4 insertions, 9 deletions
diff --git a/accessibility/source/extended/AccessibleGridControlHeader.cxx b/accessibility/source/extended/AccessibleGridControlHeader.cxx index f6a4cb177043..6e861ba398c0 100644 --- a/accessibility/source/extended/AccessibleGridControlHeader.cxx +++ b/accessibility/source/extended/AccessibleGridControlHeader.cxx @@ -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 diff --git a/accessibility/source/extended/AccessibleGridControlTable.cxx b/accessibility/source/extended/AccessibleGridControlTable.cxx index f22a8db0ff0a..ac758232ab0b 100644 --- a/accessibility/source/extended/AccessibleGridControlTable.cxx +++ b/accessibility/source/extended/AccessibleGridControlTable.cxx @@ -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 ----------------------------------------------------------------- diff --git a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx index acb2935f3d8a..8f240b20795f 100644 --- a/accessibility/source/extended/accessibleeditbrowseboxcell.cxx +++ b/accessibility/source/extended/accessibleeditbrowseboxcell.cxx @@ -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!" ); } } |