diff options
Diffstat (limited to 'stoc/source/defaultregistry/defaultregistry.cxx')
-rw-r--r-- | stoc/source/defaultregistry/defaultregistry.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/stoc/source/defaultregistry/defaultregistry.cxx b/stoc/source/defaultregistry/defaultregistry.cxx index a77906f323d3..c57b8c8e4eb8 100644 --- a/stoc/source/defaultregistry/defaultregistry.cxx +++ b/stoc/source/defaultregistry/defaultregistry.cxx @@ -1196,8 +1196,7 @@ sal_Bool SAL_CALL NestedRegistryImpl::supportsService( const OUString& ServiceNa Sequence<OUString> SAL_CALL NestedRegistryImpl::getSupportedServiceNames( ) throw(RuntimeException, std::exception) { - Sequence< OUString > seqNames(1); - seqNames[0] = "com.sun.star.registry.NestedRegistry"; + Sequence< OUString > seqNames { "com.sun.star.registry.NestedRegistry" }; return seqNames; } |