summaryrefslogtreecommitdiff
path: root/io/test/testconnection.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-04 14:16:19 +0200
committerNoel Grandin <noel@peralex.com>2015-11-04 14:20:51 +0200
commitfcb8df3bcf551fc3437e6c7c8ddb24dc5a09db02 (patch)
treeb00511c71c3ea467e1f029cfdb80bb6ce72960b5 /io/test/testconnection.cxx
parent59b072e22b0610abc7ffdbc75873ef5cbba58de7 (diff)
use uno::Reference::set method instead of assignment
Change-Id: I11822c50fa66d038a3d6f38054ab35c2e613f077
Diffstat (limited to 'io/test/testconnection.cxx')
-rw-r--r--io/test/testconnection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/test/testconnection.cxx b/io/test/testconnection.cxx
index ae42cf5f1c62..38cf44662015 100644
--- a/io/test/testconnection.cxx
+++ b/io/test/testconnection.cxx
@@ -205,7 +205,7 @@ int SAL_CALL main( int argc, char * argv[] )
printf( " Done\n" );
// check, if errornous strings make any problem
- rAcceptor = Reference< XAcceptor > (
+ rAcceptor.set(
xMgr->createInstance("com.sun.star.connection.Acceptor"),
UNO_QUERY );