diff options
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx b/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx index 1bf916d3c35e..9a33a88bcc66 100644 --- a/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx +++ b/ucb/source/ucp/tdoc/tdoc_documentcontentfactory.cxx @@ -136,12 +136,11 @@ uno::Reference< lang::XSingleServiceFactory > DocumentContentFactory::createServiceFactory( const uno::Reference< lang::XMultiServiceFactory >& rxServiceMgr ) { - return uno::Reference< lang::XSingleServiceFactory >( - cppu::createOneInstanceFactory( + return cppu::createOneInstanceFactory( rxServiceMgr, DocumentContentFactory::getImplementationName_Static(), DocumentContentFactory_CreateInstance, - DocumentContentFactory::getSupportedServiceNames_Static() ) ); + DocumentContentFactory::getSupportedServiceNames_Static() ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |