summaryrefslogtreecommitdiff
path: root/vcl/source/components/dtranscomp.cxx
diff options
context:
space:
mode:
authorBurak Bala <burak.bbala@gmail.com>2020-01-27 14:37:39 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-01-27 22:05:36 +0100
commitbfb9a17e6b7033520f108f6402a7a9659d60d3fd (patch)
treebe2df1648647651b92529c0962882243f63ea4f8 /vcl/source/components/dtranscomp.cxx
parent78568fc29315fd653b39d8911e690703446bdc76 (diff)
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 <muhammet.kara@collabora.com>
Diffstat (limited to 'vcl/source/components/dtranscomp.cxx')
-rw-r--r--vcl/source/components/dtranscomp.cxx6
1 files changed, 2 insertions, 4 deletions
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<OUString> 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<OUString> aRet { "com.sun.star.datatransfer.dnd.GenericDropTarget" };
- return aRet;
+ return { "com.sun.star.datatransfer.dnd.GenericDropTarget" };
}
};