diff options
author | Noel Grandin <noel@peralex.com> | 2015-02-11 13:20:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-02-23 09:26:58 +0200 |
commit | ba233e87efddf0a6751b35784dca1c805364ff3b (patch) | |
tree | 9d7c8a4256e688c2d47cb6ecf580ac196c4da2c0 /comphelper | |
parent | a2fa9e2468aa5c4fd4b610c5d0ebc8959e87a072 (diff) |
remove unnecessary parenthesis in return statements
found with
$ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;'
Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/accessibleselectionhelper.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/comphelper/source/misc/accessibleselectionhelper.cxx b/comphelper/source/misc/accessibleselectionhelper.cxx index 814faa1df682..df9d92bcd3e0 100644 --- a/comphelper/source/misc/accessibleselectionhelper.cxx +++ b/comphelper/source/misc/accessibleselectionhelper.cxx @@ -48,7 +48,7 @@ namespace comphelper bool SAL_CALL OCommonAccessibleSelection::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException) { - return( implIsSelected( nChildIndex ) ); + return implIsSelected( nChildIndex ); } @@ -78,7 +78,7 @@ namespace comphelper ++nRet; } - return( nRet ); + return nRet; } @@ -96,7 +96,7 @@ namespace comphelper xRet = xParentContext->getAccessibleChild( i ); } - return( xRet ); + return xRet; } @@ -121,7 +121,7 @@ namespace comphelper Reference< XAccessibleContext > OAccessibleSelectionHelper::implGetAccessibleContext() throw ( RuntimeException ) { - return( this ); + return this; } @@ -135,7 +135,7 @@ namespace comphelper sal_Bool SAL_CALL OAccessibleSelectionHelper::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); - return( OCommonAccessibleSelection::isAccessibleChildSelected( nChildIndex ) ); + return OCommonAccessibleSelection::isAccessibleChildSelected( nChildIndex ); } @@ -156,14 +156,14 @@ namespace comphelper sal_Int32 SAL_CALL OAccessibleSelectionHelper::getSelectedAccessibleChildCount( ) throw (RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); - return( OCommonAccessibleSelection::getSelectedAccessibleChildCount() ); + return OCommonAccessibleSelection::getSelectedAccessibleChildCount(); } Reference< XAccessible > SAL_CALL OAccessibleSelectionHelper::getSelectedAccessibleChild( sal_Int32 nSelectedChildIndex ) throw (IndexOutOfBoundsException, RuntimeException, std::exception) { OExternalLockGuard aGuard( this ); - return( OCommonAccessibleSelection::getSelectedAccessibleChild( nSelectedChildIndex ) ); + return OCommonAccessibleSelection::getSelectedAccessibleChild( nSelectedChildIndex ); } |