[Libreoffice-commits] core.git: toolkit/source
Eda Nur Var (via logerrit)
logerrit at kemper.freedesktop.org
Thu Feb 20 10:14:25 UTC 2020
toolkit/source/awt/asynccallback.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit c6f5e12ee3f91234b064222272d756670f3bb207
Author: Eda Nur Var <var.eda.nur at gmail.com>
AuthorDate: Mon Jan 27 15:38:48 2020 +0300
Commit: Michael Stahl <michael.stahl at cib.de>
CommitDate: Thu Feb 20 11:13:51 2020 +0100
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
Change-Id: I9c9a9af78bab721f112c33e485c431aac11bece6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87523
Tested-by: Michael Stahl <michael.stahl at cib.de>
Reviewed-by: Michael Stahl <michael.stahl at cib.de>
diff --git a/toolkit/source/awt/asynccallback.cxx b/toolkit/source/awt/asynccallback.cxx
index 93eff62f1fe5..6934fbcae19f 100644
--- a/toolkit/source/awt/asynccallback.cxx
+++ b/toolkit/source/awt/asynccallback.cxx
@@ -76,8 +76,7 @@ sal_Bool SAL_CALL AsyncCallback::supportsService(OUString const & serviceName)
css::uno::Sequence< OUString > SAL_CALL AsyncCallback::getSupportedServiceNames()
{
- css::uno::Sequence< OUString > s { "com.sun.star.awt.AsyncCallback" };
- return s;
+ return css::uno::Sequence< OUString >{ "com.sun.star.awt.AsyncCallback" };
}
// css::awt::XRequestCallback:
More information about the Libreoffice-commits
mailing list