summaryrefslogtreecommitdiff
path: root/basic
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 /basic
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 'basic')
-rw-r--r--basic/source/sbx/sbxcoll.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxcoll.cxx b/basic/source/sbx/sbxcoll.cxx
index 0f4e3125a003..8971c866619a 100644
--- a/basic/source/sbx/sbxcoll.cxx
+++ b/basic/source/sbx/sbxcoll.cxx
@@ -238,9 +238,9 @@ bool SbxCollection::LoadData( SvStream& rStrm, sal_uInt16 nVer )
SbxStdCollection::SbxStdCollection
- ( const OUString& rClass, const OUString& rElem, bool b )
+ ( const OUString& rClass, const OUString& rElem )
: SbxCollection( rClass ), aElemClass( rElem ),
- bAddRemoveOk( b )
+ bAddRemoveOk( true )
{}
SbxStdCollection::SbxStdCollection( const SbxStdCollection& r )