summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/tpshadow.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-11 13:20:49 +0200
committerNoel Grandin <noel@peralex.com>2015-02-23 09:26:58 +0200
commitba233e87efddf0a6751b35784dca1c805364ff3b (patch)
tree9d7c8a4256e688c2d47cb6ecf580ac196c4da2c0 /cui/source/tabpages/tpshadow.cxx
parenta2fa9e2468aa5c4fd4b610c5d0ebc8959e87a072 (diff)
remove unnecessary parenthesis in return statements
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
Diffstat (limited to 'cui/source/tabpages/tpshadow.cxx')
-rw-r--r--cui/source/tabpages/tpshadow.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/cui/source/tabpages/tpshadow.cxx b/cui/source/tabpages/tpshadow.cxx
index 15d00d19de19..3f09743cd55a 100644
--- a/cui/source/tabpages/tpshadow.cxx
+++ b/cui/source/tabpages/tpshadow.cxx
@@ -237,7 +237,7 @@ int SvxShadowTabPage::DeactivatePage( SfxItemSet* _pSet )
if( _pSet )
FillItemSet( _pSet );
- return( LEAVE_PAGE );
+ return LEAVE_PAGE;
}
@@ -347,7 +347,7 @@ bool SvxShadowTabPage::FillItemSet( SfxItemSet* rAttrs )
rAttrs->Put (CntUInt16Item(SID_PAGE_TYPE,nPageType));
- return( bModified );
+ return bModified;
}
@@ -458,14 +458,14 @@ void SvxShadowTabPage::Reset( const SfxItemSet* rAttrs )
SfxTabPage* SvxShadowTabPage::Create( vcl::Window* pWindow,
const SfxItemSet* rAttrs )
{
- return( new SvxShadowTabPage( pWindow, *rAttrs ) );
+ return new SvxShadowTabPage( pWindow, *rAttrs );
}
const sal_uInt16* SvxShadowTabPage::GetRanges()
{
- return( pShadowRanges );
+ return pShadowRanges;
}
@@ -484,7 +484,7 @@ IMPL_LINK_NOARG(SvxShadowTabPage, ClickShadowHdl_Impl)
ModifyShadowHdl_Impl( NULL );
- return( 0L );
+ return 0L;
}
@@ -527,7 +527,7 @@ IMPL_LINK_NOARG(SvxShadowTabPage, ModifyShadowHdl_Impl)
//aCtlXRectPreview.SetFillAttr( aXFillAttr );
m_pCtlXRectPreview->Invalidate();
- return( 0L );
+ return 0L;
}