summaryrefslogtreecommitdiff
path: root/ucb/source/sorter/sortresult.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/sorter/sortresult.cxx')
-rw-r--r--ucb/source/sorter/sortresult.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx
index 1a4707e75212..945fee5c9834 100644
--- a/ucb/source/sorter/sortresult.cxx
+++ b/ucb/source/sorter/sortresult.cxx
@@ -192,8 +192,7 @@ css::uno::Sequence< OUString > SAL_CALL SortedResultSet::getSupportedServiceName
css::uno::Sequence< OUString >SortedResultSet::getSupportedServiceNames_Static()
{
- css::uno::Sequence< OUString > aSNS( 1 );
- aSNS.getArray()[ 0 ] = RESULTSET_SERVICE_NAME;
+ css::uno::Sequence<OUString> aSNS { RESULTSET_SERVICE_NAME };
return aSNS;
}