From ba233e87efddf0a6751b35784dca1c805364ff3b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 11 Feb 2015 13:20:49 +0200 Subject: remove unnecessary parenthesis in return statements found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e --- include/svx/AccessibleShape.hxx | 2 +- include/svx/dlgctl3d.hxx | 2 +- include/svx/viewpt3d.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include/svx') diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx index e7a6442b6537..b51e62b4cee6 100644 --- a/include/svx/AccessibleShape.hxx +++ b/include/svx/AccessibleShape.hxx @@ -385,7 +385,7 @@ public: //===== Misc ======================================================== ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > - GetXShape() { return( mxShape );} + GetXShape() { return mxShape; } /** set the index _nIndex at the accessible shape @param _nIndex diff --git a/include/svx/dlgctl3d.hxx b/include/svx/dlgctl3d.hxx index 31796a24ab8a..a17e9a81ab4a 100644 --- a/include/svx/dlgctl3d.hxx +++ b/include/svx/dlgctl3d.hxx @@ -59,7 +59,7 @@ public: void Reset(); virtual void SetObjectType(sal_uInt16 nType); - sal_uInt16 GetObjectType() const { return( mnObjectType ); } + sal_uInt16 GetObjectType() const { return mnObjectType; } SfxItemSet Get3DAttributes() const; virtual void Set3DAttributes(const SfxItemSet& rAttr); }; diff --git a/include/svx/viewpt3d.hxx b/include/svx/viewpt3d.hxx index 481705b24a91..1778bffb8da4 100644 --- a/include/svx/viewpt3d.hxx +++ b/include/svx/viewpt3d.hxx @@ -96,7 +96,7 @@ class SVX_DLLPUBLIC Viewport3D void SetProjection(ProjectionType ePrj) { eProjection = ePrj; bTfValid = false; } - ProjectionType GetProjection() const { return(eProjection); } + ProjectionType GetProjection() const { return eProjection; } void SetAspectMapping(AspectMapType eAsp) { eAspectMapping = eAsp; bTfValid = false; } -- cgit