diff options
Diffstat (limited to 'ucb/source/ucp/ftp/ftpcontentprovider.cxx')
-rw-r--r-- | ucb/source/ucp/ftp/ftpcontentprovider.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ucb/source/ucp/ftp/ftpcontentprovider.cxx b/ucb/source/ucp/ftp/ftpcontentprovider.cxx index 1719d53efc47..80dffdce8659 100644 --- a/ucb/source/ucp/ftp/ftpcontentprovider.cxx +++ b/ucb/source/ucp/ftp/ftpcontentprovider.cxx @@ -136,13 +136,11 @@ css::uno::Reference< css::lang::XSingleServiceFactory > FTPContentProvider::createServiceFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& rxServiceMgr ) { - return css::uno::Reference< - css::lang::XSingleServiceFactory >( - cppu::createOneInstanceFactory( + return cppu::createOneInstanceFactory( rxServiceMgr, FTPContentProvider::getImplementationName_Static(), FTPContentProvider_CreateInstance, - FTPContentProvider::getSupportedServiceNames_Static() ) ); + FTPContentProvider::getSupportedServiceNames_Static() ); } // XContentProvider methods. |