summaryrefslogtreecommitdiff
path: root/avmedia/source/opengl/ogluno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source/opengl/ogluno.cxx')
-rw-r--r--avmedia/source/opengl/ogluno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/opengl/ogluno.cxx b/avmedia/source/opengl/ogluno.cxx
index 3eea976b8cc1..b393f8ba552d 100644
--- a/avmedia/source/opengl/ogluno.cxx
+++ b/avmedia/source/opengl/ogluno.cxx
@@ -29,7 +29,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void* SAL_CALL avmediaogl_component_getFactory(
{
const OUString aServiceName( "com.sun.star.media.Manager_OpenGL" );
- xFactory = uno::Reference< lang::XSingleServiceFactory >( ::cppu::createSingleFactory(
+ xFactory.set( ::cppu::createSingleFactory(
static_cast< lang::XMultiServiceFactory* >( pServiceManager ),
OUString("com.sun.star.comp.avmedia.Manager_OpenGL" ),
create_MediaPlayer, uno::Sequence< OUString >( &aServiceName, 1 ) ) );