summaryrefslogtreecommitdiffstats
path: root/xmlhelp/source/cxxhelp/provider/provider.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/provider.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/provider.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/provider.cxx b/xmlhelp/source/cxxhelp/provider/provider.cxx
index 78912d06b0c5..4c4532569848 100644
--- a/xmlhelp/source/cxxhelp/provider/provider.cxx
+++ b/xmlhelp/source/cxxhelp/provider/provider.cxx
@@ -152,13 +152,11 @@ css::uno::Reference< css::lang::XSingleServiceFactory >
ContentProvider::createServiceFactory( const css::uno::Reference<
css::lang::XMultiServiceFactory >& rxServiceMgr )
{
- return css::uno::Reference<
- css::lang::XSingleServiceFactory >(
- cppu::createOneInstanceFactory(
+ return cppu::createOneInstanceFactory(
rxServiceMgr,
ContentProvider::getImplementationName_Static(),
ContentProvider_CreateInstance,
- ContentProvider::getSupportedServiceNames_Static() ) );
+ ContentProvider::getSupportedServiceNames_Static() );
}
// XContentProvider methods.