summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-30 07:59:06 +0200
committerNoel Grandin <noel@peralex.com>2015-10-30 11:08:36 +0200
commitcb4fa1d1e2e61b686442a9d26220c0f1a6e1d4e7 (patch)
tree2d819dbc32230f7af209b59a5c1f262f4964fa84 /cpputools
parent3bc5df7f32501075149e4b41f6e98ea8dd2cfcbd (diff)
use uno::Reference::set method instead of assignment
Change-Id: I080668f86f0ab8b3bba857ee21411f907ae285c4
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/unoexe/unoexe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx
index 937faf69b463..f4f60cfed009 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -171,7 +171,7 @@ void createInstance(
throw RuntimeException( "cannot get service instance \"" + rServiceName + "\"!" );
}
- rxOut = Reference< T >::query( x );
+ rxOut.set( x, UNO_QUERY );
if (! rxOut.is())
{
const Type & rType = cppu::UnoType<T>::get();