From f3c1d240bd4f32d014db00a9864c56f77b7cb127 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 1 Jun 2016 12:54:31 +0200 Subject: loplugin:constantparams Change-Id: Ib162ba9297b9d900ea42c7e5216e152d3e58a361 Reviewed-on: https://gerrit.libreoffice.org/25769 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basic/source/sbx/sbxcoll.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic') 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 ) -- cgit