diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-08-17 12:15:01 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-17 13:30:19 +0200 |
commit | 5ad254ed246cf8d11b55e50ed0ccba5736d0cdbb (patch) | |
tree | a79c63f38dede22b97133adeba86ace9ab23851a /testtools/source/performance/ubobject.cxx | |
parent | 1c3d143cd4e16271e1ede4484dac2a894f2c9c38 (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in testtools and toolkit
Change-Id: I14b53c27906eb615e68482cbc3918be8da464212
Reviewed-on: https://gerrit.libreoffice.org/77624
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'testtools/source/performance/ubobject.cxx')
-rw-r--r-- | testtools/source/performance/ubobject.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/testtools/source/performance/ubobject.cxx b/testtools/source/performance/ubobject.cxx index ca0582e24e4b..8aff1663ed9c 100644 --- a/testtools/source/performance/ubobject.cxx +++ b/testtools/source/performance/ubobject.cxx @@ -47,8 +47,7 @@ namespace benchmark_object inline static Sequence< OUString > getSupportedServiceNames() { - OUString aName( SERVICENAME); - return Sequence< OUString >( &aName, 1 ); + return { SERVICENAME }; } |