summaryrefslogtreecommitdiff
path: root/framework/source/services/modulemanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/services/modulemanager.cxx')
-rw-r--r--framework/source/services/modulemanager.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/services/modulemanager.cxx b/framework/source/services/modulemanager.cxx
index a41a1cc3eeb5..942e6cf32fdc 100644
--- a/framework/source/services/modulemanager.cxx
+++ b/framework/source/services/modulemanager.cxx
@@ -170,8 +170,7 @@ sal_Bool ModuleManager::supportsService(OUString const & ServiceName)
css::uno::Sequence< OUString > ModuleManager::getSupportedServiceNames()
throw (css::uno::RuntimeException, std::exception)
{
- css::uno::Sequence< OUString > s(1);
- s[0] = "com.sun.star.frame.ModuleManager";
+ css::uno::Sequence< OUString > s { "com.sun.star.frame.ModuleManager" };
return s;
}