summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-01 14:21:06 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-02 07:14:20 +0000
commit5e7cf50756232b08964dfb15d027697b4eba004f (patch)
tree6dd2019c2945b1cd55d7663f30789c9a1db90617 /include
parentfd3d1bbaa9ab338f374fd20798fca71a888c9ab7 (diff)
SetXXX(bool) with a default value of false are just wrong
Change-Id: I4888d0474199bb10ca81d1ad03118a150f574671 Reviewed-on: https://gerrit.libreoffice.org/18235 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/ctrlbox.hxx2
-rw-r--r--include/svx/relfld.hxx2
-rw-r--r--include/svx/srchdlg.hxx2
-rw-r--r--include/vcl/dockwin.hxx4
4 files changed, 5 insertions, 5 deletions
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx
index 5782394d030c..eedb574af60e 100644
--- a/include/svtools/ctrlbox.hxx
+++ b/include/svtools/ctrlbox.hxx
@@ -469,7 +469,7 @@ public:
void EnablePtRelativeMode( short nMin = -200, short nMax = 200,
short nStep = 10 );
bool IsRelativeMode() const { return bRelativeMode; }
- void SetRelative( bool bRelative = false );
+ void SetRelative( bool bRelative );
bool IsRelative() const { return bRelative; }
void SetPtRelative( bool bPtRel = true )
{ bPtRelative = bPtRel; SetRelative( true ); }
diff --git a/include/svx/relfld.hxx b/include/svx/relfld.hxx
index 570791be64a5..5e509e62e9ee 100644
--- a/include/svx/relfld.hxx
+++ b/include/svx/relfld.hxx
@@ -44,7 +44,7 @@ public:
void EnableRelativeMode( sal_uInt16 nMin = 50, sal_uInt16 nMax = 150,
sal_uInt16 nStep = 5 );
- void SetRelative( bool bRelative = false );
+ void SetRelative( bool bRelative );
bool IsRelative() const { return bRelative; }
void EnableNegativeMode() {bNegativeEnabled = true;}
};
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx
index 3de80404ff45..1403fafa4510 100644
--- a/include/svx/srchdlg.hxx
+++ b/include/svx/srchdlg.hxx
@@ -137,7 +137,7 @@ public:
void SetDocWin( vcl::Window* pDocWin ) { mpDocWin = pDocWin; }
vcl::Window* GetDocWin() { return mpDocWin; }
- void SetSrchFlag( bool bSuccess = false ) { mbSuccess = bSuccess; }
+ void SetSrchFlag( bool bSuccess ) { mbSuccess = bSuccess; }
bool GetSrchFlag() { return mbSuccess; }
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >
GetComponentInterface( bool bCreate ) SAL_OVERRIDE;
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index bae8483b8787..07905fdc469c 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -160,7 +160,7 @@ public:
bool IsDockable() const { return mbDockable; }
bool IsDockingCanceled() const { return mbDockCanceled; }
- void SetFloatingMode( bool bFloatMode = false );
+ void SetFloatingMode( bool bFloatMode );
bool IsFloatingMode() const;
FloatingWindow* GetFloatingWindow() const { return mpFloatWin; }
@@ -322,7 +322,7 @@ public:
bool IsDockingCanceled() const { return mbDockCanceled; }
bool IsDockingPrevented() const { return mbDockPrevented; }
- void SetFloatingMode( bool bFloatMode = false );
+ void SetFloatingMode( bool bFloatMode );
bool IsFloatingMode() const;
FloatingWindow* GetFloatingWindow() const { return mpFloatWin; }