From bfb9a17e6b7033520f108f6402a7a9659d60d3fd Mon Sep 17 00:00:00 2001 From: Burak Bala Date: Mon, 27 Jan 2020 14:37:39 +0300 Subject: tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor Change-Id: Iac9ad4509f49e6c2e7f33a4e6577d97e0863c78a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87512 Tested-by: Jenkins Reviewed-by: Muhammet Kara --- vcl/source/components/dtranscomp.cxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'vcl') diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx index 92cf951211b4..e76e7691ded8 100644 --- a/vcl/source/components/dtranscomp.cxx +++ b/vcl/source/components/dtranscomp.cxx @@ -280,8 +280,7 @@ public: static Sequence< OUString > getSupportedServiceNames_static() { - Sequence aRet { "com.sun.star.datatransfer.dnd.GenericDragSource" }; - return aRet; + return { "com.sun.star.datatransfer.dnd.GenericDragSource" }; } }; @@ -381,8 +380,7 @@ public: static Sequence< OUString > getSupportedServiceNames_static() { - Sequence aRet { "com.sun.star.datatransfer.dnd.GenericDropTarget" }; - return aRet; + return { "com.sun.star.datatransfer.dnd.GenericDropTarget" }; } }; -- cgit