diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-01 14:21:06 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-02 07:14:20 +0000 |
commit | 5e7cf50756232b08964dfb15d027697b4eba004f (patch) | |
tree | 6dd2019c2945b1cd55d7663f30789c9a1db90617 /include/svtools | |
parent | fd3d1bbaa9ab338f374fd20798fca71a888c9ab7 (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/svtools')
-rw-r--r-- | include/svtools/ctrlbox.hxx | 2 |
1 files changed, 1 insertions, 1 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 ); } |