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