diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-13 15:13:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-13 18:33:07 +0200 |
commit | 15f44cb6fbf2459dca522e4f5b7f525fd1d6c5e7 (patch) | |
tree | aa6ecf5b700b36b135d3bba5ef6fbf0f65d2cd8f /ucb/source/ucp/webdav | |
parent | 0544ea4ef08272543856d69927d0d666f61679b3 (diff) |
expand out an UNO macro
to make the ongoing convert-to-UNO-constructor work easier
Change-Id: I99596561832b10538505cf4dfdabaf11d6e4d7cb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98664
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/webdav')
-rw-r--r-- | ucb/source/ucp/webdav/webdavprovider.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav/webdavprovider.cxx b/ucb/source/ucp/webdav/webdavprovider.cxx index 6c1d77b94d0c..002f90194023 100644 --- a/ucb/source/ucp/webdav/webdavprovider.cxx +++ b/ucb/source/ucp/webdav/webdavprovider.cxx @@ -103,8 +103,16 @@ ContentProvider::getSupportedServiceNames_Static() // Service factory implementation. +css::uno::Reference< css::lang::XSingleServiceFactory > +ContentProvider::createServiceFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& rxServiceMgr ) +{ + return cppu::createOneInstanceFactory( + rxServiceMgr, + ContentProvider::getImplementationName_Static(), + ContentProvider_CreateInstance, + ContentProvider::getSupportedServiceNames_Static() ); +} -ONE_INSTANCE_SERVICE_FACTORY_IMPL( ContentProvider ); // XContentProvider methods. |