summaryrefslogtreecommitdiff
path: root/avmedia/source/win/winuno.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-29 15:48:45 +0200
committerNoel Grandin <noel@peralex.com>2015-10-30 08:10:22 +0200
commit065c8b48a604b70140862d0d02deb584626d6994 (patch)
tree578c07b470b8ec9e5908d224c2fbf33cadda5adf /avmedia/source/win/winuno.cxx
parentaddb63fa8ac9fa1a29a00e886e7ae177b604494c (diff)
use uno::Reference::set method instead of assignment
Change-Id: I58410209f32f988f258a588364e0b037c2790211
Diffstat (limited to 'avmedia/source/win/winuno.cxx')
-rw-r--r--avmedia/source/win/winuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/win/winuno.cxx b/avmedia/source/win/winuno.cxx
index c39c00af671e..a93fb9a5b146 100644
--- a/avmedia/source/win/winuno.cxx
+++ b/avmedia/source/win/winuno.cxx
@@ -40,7 +40,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL avmediawin_component_getFactory(
{
const OUString aServiceName( "com.sun.star.media.Manager_DirectX" );
- xFactory = uno::Reference< lang::XSingleServiceFactory >( ::cppu::createSingleFactory(
+ xFactory.set( ::cppu::createSingleFactory(
reinterpret_cast< lang::XMultiServiceFactory* >( pServiceManager ),
OUString("com.sun.star.comp.avmedia.Manager_DirectX" ),
create_MediaPlayer, uno::Sequence< OUString >( &aServiceName, 1 ) ) );