diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-04 15:36:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-05 07:41:29 +0200 |
commit | 0eb9f56db5dad711f12283d097e1d56a801ba526 (patch) | |
tree | 5f3d939447347f8b44921ce23f8d0b261e64ead2 /scripting/source/protocolhandler | |
parent | a17cfe9de14d83c28cae142a64782387dcaa4864 (diff) |
use uno::Reference::set method instead of assignment
Change-Id: I2b592fd3327f4bbe4685e84711dc9d6f19222a97
Diffstat (limited to 'scripting/source/protocolhandler')
-rw-r--r-- | scripting/source/protocolhandler/scripthandler.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx index 1f5ef05a3d1b..32792d7b142a 100644 --- a/scripting/source/protocolhandler/scripthandler.cxx +++ b/scripting/source/protocolhandler/scripthandler.cxx @@ -420,8 +420,7 @@ void ScriptProtocolHandler::createScriptProvider() Any aContext; if ( getScriptInvocation() ) aContext = makeAny( m_xScriptInvocation ); - m_xScriptProvider = Reference< provider::XScriptProvider > ( - xFac->createScriptProvider( aContext ), UNO_QUERY_THROW ); + m_xScriptProvider.set( xFac->createScriptProvider( aContext ), UNO_QUERY_THROW ); } } catch ( const RuntimeException & e ) |