diff options
Diffstat (limited to 'cppuhelper/test/testcmp/TestComponent.cxx')
-rw-r--r-- | cppuhelper/test/testcmp/TestComponent.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cppuhelper/test/testcmp/TestComponent.cxx b/cppuhelper/test/testcmp/TestComponent.cxx index f3922b70c1ed..cca70c831a1b 100644 --- a/cppuhelper/test/testcmp/TestComponent.cxx +++ b/cppuhelper/test/testcmp/TestComponent.cxx @@ -102,8 +102,7 @@ uno::Reference<uno::XInterface> SAL_CALL TestComponent::create( uno::Sequence<rtl::OUString> SAL_CALL TestComponent::getSupportedServiceNames_Static() { - uno::Sequence<rtl::OUString> serviceNames(1); - serviceNames[0] = rtl::OUString("com.sun.star.lang.ServiceInfo"); + uno::Sequence<OUString> serviceNames { rtl::OUString("com.sun.star.lang.ServiceInfo") }; return serviceNames; } |