diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-11-01 09:05:58 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-01 15:26:10 +0000 |
commit | 0e6544903bc572d1d6051cbb89a4cfb727401159 (patch) | |
tree | 5090895789c763971457ef11fc8de55aed77d019 /eventattacher | |
parent | b5db48ada113206ac090e4a08f2ae211859103ed (diff) |
no need to be so verbose in constructing uno::Reference
Change-Id: I187a26e200e9ecaff2adaf53a2ba3f6e87346030
Reviewed-on: https://gerrit.libreoffice.org/19724
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
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 79cd4db05102..b3997aefaed3 100644 --- a/eventattacher/source/eventattacher.cxx +++ b/eventattacher/source/eventattacher.cxx @@ -297,7 +297,7 @@ Reference< XInterface > SAL_CALL EventAttacherImpl_CreateInstance( const Referen { XEventAttacher *pEventAttacher = static_cast<XEventAttacher*>(new EventAttacherImpl( comphelper::getComponentContext(rSMgr) )); - Reference< XInterface > xRet = Reference<XInterface>::query(pEventAttacher); + Reference< XInterface > xRet(pEventAttacher, UNO_QUERY); return xRet; } |