diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-05 09:30:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-11-05 09:59:30 +0200 |
commit | 3fdbf5935e0aff6350e861e868c7e0a12dd1bc8f (patch) | |
tree | c2d5a74b8aa8d51a7a3906e390ce77f7fce6ead1 /stoc/test/testintrosp.cxx | |
parent | 1c3d3ffa81d1a451b5a694cff022df3c5c94ba8e (diff) |
use uno::Reference::set method instead of assignment
Change-Id: I6cb508e392d5e194c80fc6d0927c86414e4ab05b
Diffstat (limited to 'stoc/test/testintrosp.cxx')
-rw-r--r-- | stoc/test/testintrosp.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stoc/test/testintrosp.cxx b/stoc/test/testintrosp.cxx index 2aedac97cf5f..a3f694bb3bfc 100644 --- a/stoc/test/testintrosp.cxx +++ b/stoc/test/testintrosp.cxx @@ -70,8 +70,7 @@ Reference<XIdlClass> TypeToIdlClass( const Type& rType, const Reference< XMultiS OUString sOWName( pTD->pTypeName ); if( !xRefl.is() ) { - xRefl = Reference< XIdlReflection >( xMgr->createInstance( - "com.sun.star.reflection.CoreReflection" ), UNO_QUERY ); + xRefl.set( xMgr->createInstance( "com.sun.star.reflection.CoreReflection" ), UNO_QUERY ); OSL_ENSURE( xRefl.is(), "### no corereflection!" ); } xRetClass = xRefl->forName( sOWName ); |