summaryrefslogtreecommitdiff
path: root/stoc/test/testsmgr_cpnt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/test/testsmgr_cpnt.cxx')
-rw-r--r--stoc/test/testsmgr_cpnt.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/stoc/test/testsmgr_cpnt.cxx b/stoc/test/testsmgr_cpnt.cxx
index b09bb7ea3a45..7faf7fea9686 100644
--- a/stoc/test/testsmgr_cpnt.cxx
+++ b/stoc/test/testsmgr_cpnt.cxx
@@ -148,10 +148,7 @@ Sequence< OUString > Test_Manager_Impl::getSupportedServiceNames() throw ()
Sequence< OUString > Test_Manager_Impl::getSupportedServiceNames_Static() throw ()
{
- Sequence< OUString > aSNS( 2 );
- aSNS.getArray()[0] = SERVICE_NAME;
- aSNS.getArray()[1] = "com.sun.star.bridge.Bridge";
- return aSNS;
+ return { SERVICE_NAME, "com.sun.star.bridge.Bridge" };
}