From 5e7cf50756232b08964dfb15d027697b4eba004f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 1 Sep 2015 14:21:06 +0200 Subject: 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 Tested-by: Noel Grandin --- include/svtools/ctrlbox.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/svtools') 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 ); } -- cgit v1.2.3