diff options
Diffstat (limited to 'vcl/source/components/factory.cxx')
-rw-r--r-- | vcl/source/components/factory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/components/factory.cxx b/vcl/source/components/factory.cxx index b482431f24d7..2f0027d17868 100644 --- a/vcl/source/components/factory.cxx +++ b/vcl/source/components/factory.cxx @@ -95,7 +95,7 @@ extern "C" { Reference< ::com::sun::star::lang::XSingleServiceFactory > xFactory; if( vcl_session_getImplementationName().equalsAscii( pImplementationName ) ) { - xFactory = ::cppu::createSingleFactory( + xFactory = ::cppu::createOneInstanceFactory( xMgr, vcl_session_getImplementationName(), vcl_session_createInstance, vcl_session_getSupportedServiceNames() ); } |