summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-06 13:45:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-07 07:19:46 +0100
commitf7a57f3a1b3bf357b8dd9401b6d5d2525497967e (patch)
treea1e4355e3c6f1edfb6c96c2d78160c1b5a143a08
parente1755ac8c42ba4657881ecf7aa652a137abf3267 (diff)
loplugin:countusersofdefaultparams in comphelper
Change-Id: Idb704adbe78a42bf2f2aaf7f6110698d5559e836 Reviewed-on: https://gerrit.libreoffice.org/45936 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--cppuhelper/source/factory.cxx4
-rw-r--r--include/comphelper/ChainablePropertySet.hxx2
-rw-r--r--include/comphelper/MasterPropertySet.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx
index 21ae1f398d4b..2503245330b8 100644
--- a/cppuhelper/source/factory.cxx
+++ b/cppuhelper/source/factory.cxx
@@ -242,7 +242,7 @@ public:
ComponentInstantiation pCreateFunction_,
ComponentFactoryFunc fptr,
const Sequence< OUString > * pServiceNames_,
- bool bOneInstance_ = false )
+ bool bOneInstance_ )
: OComponentHelper( aMutex )
, OSingleFactoryHelper( rServiceManager, rImplementationName_, pCreateFunction_, fptr, pServiceNames_ )
, bOneInstance( bOneInstance_ )
@@ -438,7 +438,7 @@ public:
const Reference<XMultiServiceFactory > & rServiceManager,
const OUString & rImplementationName_,
const Reference<XRegistryKey > & xImplementationKey_,
- bool bOneInstance_ = false )
+ bool bOneInstance_ )
: OFactoryComponentHelper(
rServiceManager, rImplementationName_, nullptr, nullptr, nullptr, bOneInstance_ ),
OPropertySetHelper( OComponentHelper::rBHelper ),
diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx
index 6926f6b902e2..a306850caf18 100644
--- a/include/comphelper/ChainablePropertySet.hxx
+++ b/include/comphelper/ChainablePropertySet.hxx
@@ -107,7 +107,7 @@ namespace comphelper
virtual void _postGetValues () = 0;
public:
- ChainablePropertySet( comphelper::ChainablePropertySetInfo* pInfo, SolarMutex* pMutex = nullptr )
+ ChainablePropertySet( comphelper::ChainablePropertySetInfo* pInfo, SolarMutex* pMutex )
throw();
virtual ~ChainablePropertySet()
throw() override;
diff --git a/include/comphelper/MasterPropertySet.hxx b/include/comphelper/MasterPropertySet.hxx
index 81249fbc6ebd..4fe94ac90267 100644
--- a/include/comphelper/MasterPropertySet.hxx
+++ b/include/comphelper/MasterPropertySet.hxx
@@ -98,7 +98,7 @@ namespace comphelper
virtual void _postGetValues () = 0;
public:
- MasterPropertySet( comphelper::MasterPropertySetInfo* pInfo, SolarMutex* pMutex = nullptr )
+ MasterPropertySet( comphelper::MasterPropertySetInfo* pInfo, SolarMutex* pMutex )
throw();
virtual ~MasterPropertySet()
throw();