diff options
Diffstat (limited to 'include/ucbhelper/macros.hxx')
-rw-r--r-- | include/ucbhelper/macros.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/ucbhelper/macros.hxx b/include/ucbhelper/macros.hxx index da0b2dea8feb..36cf524f1fda 100644 --- a/include/ucbhelper/macros.hxx +++ b/include/ucbhelper/macros.hxx @@ -179,13 +179,11 @@ Class::getSupportedServiceNames() \ css::uno::Reference< css::lang::XSingleServiceFactory > \ Class::createServiceFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& rxServiceMgr ) \ { \ - return css::uno::Reference< \ - css::lang::XSingleServiceFactory >( \ - cppu::createOneInstanceFactory( \ + return cppu::createOneInstanceFactory( \ rxServiceMgr, \ Class::getImplementationName_Static(), \ Class##_CreateInstance, \ - Class::getSupportedServiceNames_Static() ) ); \ + Class::getSupportedServiceNames_Static() ); \ } #endif /* ! INCLUDED_UCBHELPER_MACROS_HXX */ |