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 /sw/source/uibase/inc/edtwin.hxx | |
parent | import the document properties before the document (diff) | |
download | core-ba233e87efddf0a6751b35784dca1c805364ff3b.tar.gz core-ba233e87efddf0a6751b35784dca1c805364ff3b.zip |
remove unnecessary parenthesis in return statements
found with
$ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;'
Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
Diffstat (limited to 'sw/source/uibase/inc/edtwin.hxx')
-rw-r--r-- | sw/source/uibase/inc/edtwin.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/edtwin.hxx b/sw/source/uibase/inc/edtwin.hxx index 4e8ff489c0c2..d579e479ab8f 100644 --- a/sw/source/uibase/inc/edtwin.hxx +++ b/sw/source/uibase/inc/edtwin.hxx @@ -220,7 +220,7 @@ public: void UpdatePointer(const Point &, sal_uInt16 nButtons = 0); bool IsDrawSelMode(); - bool IsDrawAction() { return (m_bInsDraw); } + bool IsDrawAction() { return m_bInsDraw; } void SetDrawAction(bool bFlag) { m_bInsDraw = bFlag; } void SetObjectSelect( bool bVal ) { m_bObjectSelect = bVal; } @@ -230,7 +230,7 @@ public: inline void SetSdrDrawMode( SdrObjKind eSdrObjectKind ) { m_eDrawMode = eSdrObjectKind; SetObjectSelect( false ); } void StdDrawMode( SdrObjKind eSdrObjectKind, bool bObjSelect ); - bool IsFrmAction() const { return (m_bInsFrm); } + bool IsFrmAction() const { return m_bInsFrm; } sal_uInt16 GetBezierMode() const { return m_eBezierMode; } void SetBezierMode(sal_uInt16 eBezMode) { m_eBezierMode = eBezMode; } void EnterDrawTextMode(const Point& aDocPos); // turn on DrawTextEditMode |