summaryrefslogtreecommitdiff
path: root/include/svx
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 /include/svx
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 'include/svx')
-rw-r--r--include/svx/AccessibleShape.hxx2
-rw-r--r--include/svx/dlgctl3d.hxx2
-rw-r--r--include/svx/viewpt3d.hxx2
3 files changed, 3 insertions, 3 deletions
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; }