[Libreoffice-commits] core.git: vcl/source
Burak Bala (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jan 27 21:06:04 UTC 2020
vcl/source/components/dtranscomp.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit bfb9a17e6b7033520f108f6402a7a9659d60d3fd
Author: Burak Bala <burak.bbala at gmail.com>
AuthorDate: Mon Jan 27 14:37:39 2020 +0300
Commit: Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Mon Jan 27 22:05:36 2020 +0100
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 at collabora.com>
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" };
}
};
More information about the Libreoffice-commits
mailing list