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 /basctl | |
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 'basctl')
-rw-r--r-- | basctl/source/basicide/tbxctl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/tbxctl.cxx b/basctl/source/basicide/tbxctl.cxx index ff7d3da333a8..f2950b97ac9d 100644 --- a/basctl/source/basicide/tbxctl.cxx +++ b/basctl/source/basicide/tbxctl.cxx @@ -63,8 +63,8 @@ TbxControls::TbxControls( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx ) : SfxPopupWindowType TbxControls::GetPopupWindowType() const { if( nLastSlot == USHRT_MAX ) - return(SFX_POPUPWINDOW_ONCLICK); - return(SFX_POPUPWINDOW_ONTIMEOUT); + return SFX_POPUPWINDOW_ONCLICK; + return SFX_POPUPWINDOW_ONTIMEOUT; } void TbxControls::StateChanged( sal_uInt16 nSID, SfxItemState eState, @@ -146,7 +146,7 @@ SfxPopupWindow* TbxControls::CreatePopupWindow() if ( GetSlotId() == SID_CHOOSE_CONTROLS ) createAndPositionSubToolBar( aSubToolBarResName ); - return(0); + return 0; } |