summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/asynccallback.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/asynccallback.cxx')
-rw-r--r--toolkit/source/awt/asynccallback.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/toolkit/source/awt/asynccallback.cxx b/toolkit/source/awt/asynccallback.cxx
index 9faaf0c5f25f..62ebe1e2a792 100644
--- a/toolkit/source/awt/asynccallback.cxx
+++ b/toolkit/source/awt/asynccallback.cxx
@@ -79,8 +79,7 @@ sal_Bool SAL_CALL AsyncCallback::supportsService(OUString const & serviceName) t
css::uno::Sequence< OUString > SAL_CALL AsyncCallback::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
{
- css::uno::Sequence< OUString > s(1);
- s[0] = "com.sun.star.awt.AsyncCallback";
+ css::uno::Sequence< OUString > s { "com.sun.star.awt.AsyncCallback" };
return s;
}