summaryrefslogtreecommitdiff
path: root/ucb/source/sorter/sortdynres.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/sorter/sortdynres.cxx')
-rw-r--r--ucb/source/sorter/sortdynres.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/ucb/source/sorter/sortdynres.cxx b/ucb/source/sorter/sortdynres.cxx
index 114d29c5f2e6..e3b20bd62539 100644
--- a/ucb/source/sorter/sortdynres.cxx
+++ b/ucb/source/sorter/sortdynres.cxx
@@ -459,12 +459,11 @@ css::uno::Sequence< OUString > SortedDynamicResultSetFactory::getSupportedServic
css::uno::Reference< css::lang::XSingleServiceFactory >
SortedDynamicResultSetFactory::createServiceFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& rxServiceMgr )
{
- return css::uno::Reference< css::lang::XSingleServiceFactory >(
- cppu::createOneInstanceFactory(
+ return cppu::createOneInstanceFactory(
rxServiceMgr,
SortedDynamicResultSetFactory::getImplementationName_Static(),
SortedDynamicResultSetFactory_CreateInstance,
- SortedDynamicResultSetFactory::getSupportedServiceNames_Static() ) );
+ SortedDynamicResultSetFactory::getSupportedServiceNames_Static() );
}
// SortedDynamicResultSetFactory methods.