summaryrefslogtreecommitdiff
path: root/eventattacher
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-07 20:58:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-08 14:45:11 +0200
commit2002bbe83de99784e38edc206f83c580e2a7a7a7 (patch)
treeaa94bde0a27a19afebf17b90a718251218366501 /eventattacher
parent6d180f09f2d2bdb94e5d2113e509430cf8ba13cc (diff)
loplugin:simplifyconstruct in editeng..extensions
Change-Id: I646a24382554312d92a4a8746d5267767353a53f Reviewed-on: https://gerrit.libreoffice.org/60169 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'eventattacher')
-rw-r--r--eventattacher/source/eventattacher.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx
index 045d9d968036..07e7b317728d 100644
--- a/eventattacher/source/eventattacher.cxx
+++ b/eventattacher/source/eventattacher.cxx
@@ -576,7 +576,7 @@ Reference<XEventListener> EventAttacherImpl::attachListenerForTarget(
const OUString& aListenerType,
const OUString& aAddListenerParam)
{
- Reference< XEventListener > xRet = nullptr;
+ Reference< XEventListener > xRet;
// Construct the name of the addListener-Method.
sal_Int32 nIndex = aListenerType.lastIndexOf('.');