diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-07 20:58:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-08 14:45:11 +0200 |
commit | 2002bbe83de99784e38edc206f83c580e2a7a7a7 (patch) | |
tree | aa94bde0a27a19afebf17b90a718251218366501 /eventattacher | |
parent | 6d180f09f2d2bdb94e5d2113e509430cf8ba13cc (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.cxx | 2 |
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('.'); |