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 /dbaccess/source/ui/inc/SqlNameEdit.hxx | |
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 'dbaccess/source/ui/inc/SqlNameEdit.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/SqlNameEdit.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/ui/inc/SqlNameEdit.hxx b/dbaccess/source/ui/inc/SqlNameEdit.hxx index 2c1ecd27aa9f..03ba4018ce8f 100644 --- a/dbaccess/source/ui/inc/SqlNameEdit.hxx +++ b/dbaccess/source/ui/inc/SqlNameEdit.hxx @@ -45,8 +45,7 @@ namespace dbaui { m_sAllowedChars = _rAllowedChars; } - // default is false because it is initialized with true - void setCheck(bool _bCheck = false) + void setCheck(bool _bCheck) { m_bCheck = _bCheck; } |