summaryrefslogtreecommitdiff
path: root/eventattacher
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:14:46 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:24 +0100
commite1e967a1bb0f4e4fac50f353c990389ccc73a053 (patch)
tree2844c8f2ac4299bd6805ff831560b4bfbdc66aed /eventattacher
parent09efeeb41a8a7f610ebbc3222e1231b5355f9904 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: Ifa481aa4bf87e7e2f93d1635864c8813f65da2f1
Diffstat (limited to 'eventattacher')
-rw-r--r--eventattacher/source/eventattacher.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx
index 5d1ee226054f..ef72e0bd3802 100644
--- a/eventattacher/source/eventattacher.cxx
+++ b/eventattacher/source/eventattacher.cxx
@@ -606,7 +606,7 @@ Reference<XEventListener> EventAttacherImpl::attachListenerForTarget(
const OUString& aListenerType,
const OUString& aAddListenerParam)
{
- Reference< XEventListener > xRet = NULL;
+ Reference< XEventListener > xRet = nullptr;
// Construct the name of the addListener-Method.
sal_Int32 nIndex = aListenerType.lastIndexOf('.');
@@ -893,7 +893,7 @@ extern "C"
SAL_DLLPUBLIC_EXPORT void * SAL_CALL evtatt_component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * )
{
- void * pRet = 0;
+ void * pRet = nullptr;
if (pServiceManager && rtl_str_compare( pImplName, IMPLNAME ) == 0)
{