summaryrefslogtreecommitdiff
path: root/cppuhelper/source/factory.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:13:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:21 +0100
commitbf3f8403029fcea9ce7d53078697efb24c09a75b (patch)
tree3f99977435c7794529d3975c798afceb86444deb /cppuhelper/source/factory.cxx
parent4730b58d9989512ed25790768ba78decfde7d667 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I62a63915dfc0bced2cd8ffe3999cbde5c4d97b0b
Diffstat (limited to 'cppuhelper/source/factory.cxx')
-rw-r--r--cppuhelper/source/factory.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx
index d970f0333e9d..779e861374c0 100644
--- a/cppuhelper/source/factory.cxx
+++ b/cppuhelper/source/factory.cxx
@@ -477,7 +477,7 @@ public:
const Reference<XRegistryKey > & xImplementationKey_,
bool bOneInstance_ = false )
: OFactoryComponentHelper(
- rServiceManager, rImplementationName_, 0, 0, 0, bOneInstance_ ),
+ rServiceManager, rImplementationName_, nullptr, nullptr, nullptr, bOneInstance_ ),
OPropertySetHelper( OComponentHelper::rBHelper ),
xImplementationKey( xImplementationKey_ )
{}
@@ -598,7 +598,7 @@ ORegistryFactoryHelper::getPropertySetInfo() throw (RuntimeException, std::excep
IPropertyArrayHelper & ORegistryFactoryHelper::getInfoHelper()
{
::osl::MutexGuard guard( aMutex );
- if (m_property_array_helper.get() == 0)
+ if (m_property_array_helper.get() == nullptr)
{
beans::Property prop(
"ImplementationKey" /* name */,
@@ -960,7 +960,7 @@ Reference<XSingleServiceFactory > SAL_CALL createSingleFactory(
rtl_ModuleCount * )
{
return new OFactoryComponentHelper(
- rServiceManager, rImplementationName, pCreateFunction, 0, &rServiceNames, false );
+ rServiceManager, rImplementationName, pCreateFunction, nullptr, &rServiceNames, false );
}
// global function
@@ -980,7 +980,7 @@ Reference<XSingleServiceFactory > SAL_CALL createOneInstanceFactory(
rtl_ModuleCount * )
{
return new OFactoryComponentHelper(
- rServiceManager, rImplementationName, pCreateFunction, 0, &rServiceNames, true );
+ rServiceManager, rImplementationName, pCreateFunction, nullptr, &rServiceNames, true );
}
// global function
@@ -1011,7 +1011,7 @@ Reference< lang::XSingleComponentFactory > SAL_CALL createSingleComponentFactory
rtl_ModuleCount *)
{
return new OFactoryComponentHelper(
- Reference< XMultiServiceFactory >(), rImplementationName, 0, fptr, &rServiceNames, false );
+ Reference< XMultiServiceFactory >(), rImplementationName, nullptr, fptr, &rServiceNames, false );
}
Reference< lang::XSingleComponentFactory > SAL_CALL createOneInstanceComponentFactory(
@@ -1021,7 +1021,7 @@ Reference< lang::XSingleComponentFactory > SAL_CALL createOneInstanceComponentFa
rtl_ModuleCount *)
{
return new OFactoryComponentHelper(
- Reference< XMultiServiceFactory >(), rImplementationName, 0, fptr, &rServiceNames, true );
+ Reference< XMultiServiceFactory >(), rImplementationName, nullptr, fptr, &rServiceNames, true );
}
}