summaryrefslogtreecommitdiff
path: root/pyuno/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-08-17 18:52:37 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-17 20:10:43 +0200
commit7d3041beb90de4f3495addf139463860049740fb (patch)
tree17173e099d5d9ff44f6734ab20b9cfd5145fbb27 /pyuno/source
parente6196c6c9c85bdf446899a50da81adbfb7037d85 (diff)
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in hwpfilter, include/test, io, linguistic, oox, pyuno, reportdesign Change-Id: I5c265c4fde85dd6d7faab8ae82809c4a0e6dd69b Reviewed-on: https://gerrit.libreoffice.org/77646 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'pyuno/source')
-rw-r--r--pyuno/source/loader/pyuno_loader.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyuno/source/loader/pyuno_loader.cxx b/pyuno/source/loader/pyuno_loader.cxx
index 9da2f615a05a..ffdb81143961 100644
--- a/pyuno/source/loader/pyuno_loader.cxx
+++ b/pyuno/source/loader/pyuno_loader.cxx
@@ -113,8 +113,7 @@ static OUString getImplementationName()
static Sequence< OUString > getSupportedServiceNames()
{
- OUString serviceName( "com.sun.star.loader.Python" );
- return Sequence< OUString > ( &serviceName, 1 );
+ return { "com.sun.star.loader.Python" };
}
static void setPythonHome ( const OUString & pythonHome )