summaryrefslogtreecommitdiff
path: root/idl/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-01 12:54:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-03 09:08:42 +0000
commitf3c1d240bd4f32d014db00a9864c56f77b7cb127 (patch)
treeff952e1002ed98d1a0d537193f7bd15aac64b1c9 /idl/inc
parent643b70006fd5f6762561696421808f20d4e1e86f (diff)
loplugin:constantparams
Change-Id: Ib162ba9297b9d900ea42c7e5216e152d3e58a361 Reviewed-on: https://gerrit.libreoffice.org/25769 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'idl/inc')
-rw-r--r--idl/inc/bastype.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idl/inc/bastype.hxx b/idl/inc/bastype.hxx
index 4e176a5b3ad9..df04891384e8 100644
--- a/idl/inc/bastype.hxx
+++ b/idl/inc/bastype.hxx
@@ -35,7 +35,7 @@ class SvBOOL
bSet:1;
public:
SvBOOL() { bSet = bVal = false; }
- SvBOOL( bool b, bool bSetP ) : bVal( b ), bSet( bSetP ) {}
+ SvBOOL( bool b ) : bVal( b ), bSet( false) {}
SvBOOL & operator = ( bool n ) { bVal = n; bSet = true; return *this; }
operator bool() const { return bVal; }