summaryrefslogtreecommitdiff
path: root/eventattacher
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-30 15:20:12 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-02 06:46:53 +0000
commitdd1729f854af4f27f396d51d3c930c95d1011001 (patch)
treeb65685fee797f657a3bc950902956c3820fd5106 /eventattacher
parent1b41208608f472df8dd5879c27dca45cc2ea7740 (diff)
use uno::Reference::set method instead of assignment
Change-Id: Ib297f2ab1c0c82703030f28d034d24f8a84a85ea Reviewed-on: https://gerrit.libreoffice.org/19732 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
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 b3997aefaed3..f39b1281b118 100644
--- a/eventattacher/source/eventattacher.cxx
+++ b/eventattacher/source/eventattacher.cxx
@@ -648,7 +648,7 @@ Reference<XEventListener> EventAttacherImpl::attachListenerForTarget(
if( !xAdapter.is() )
throw CannotCreateAdapterException();
- xRet = Reference< XEventListener >( xAdapter, UNO_QUERY );
+ xRet.set( xAdapter, UNO_QUERY );
// Just the Listener as parameter?
if( nParamCount == 1 )