summaryrefslogtreecommitdiff
path: root/cppuhelper
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 /cppuhelper
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>
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/factory.cxx4
1 files changed, 2 insertions, 2 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 ),