framework/source/jobs/jobdispatch.cxx | 3 +-- framework/source/services/pathsettings.cxx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-)
New commits: commit 5d07a4fa1d6d669ee9796ff4babdde0644d2eb59 Author: Vishwas <19ucc...@lnmiit.ac.in> AuthorDate: Tue Jan 5 11:48:07 2021 +0530 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Jan 11 13:01:08 2021 +0100 tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor Change-Id: Ic08f7d7c2b8da6dd5ede2a719633d123412de3ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108737 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/framework/source/jobs/jobdispatch.cxx b/framework/source/jobs/jobdispatch.cxx index 6ec94cb3293c..964f128e9110 100644 --- a/framework/source/jobs/jobdispatch.cxx +++ b/framework/source/jobs/jobdispatch.cxx @@ -99,8 +99,7 @@ public: virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override { - css::uno::Sequence< OUString > aSeq { "com.sun.star.frame.ProtocolHandler" }; - return aSeq; + return {"com.sun.star.frame.ProtocolHandler"}; } // Xinitialization diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx index 72c15015f586..c59ef728ccb5 100644 --- a/framework/source/services/pathsettings.cxx +++ b/framework/source/services/pathsettings.cxx @@ -185,8 +185,7 @@ public: virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override { - css::uno::Sequence< OUString > aSeq { "com.sun.star.util.PathSettings" }; - return aSeq; + return {"com.sun.star.util.PathSettings"}; } // XInterface _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits