diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-08-17 12:18:30 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-17 15:26:15 +0200 |
commit | e01949e9c56c1605a4eccbae285f85d1b3085e15 (patch) | |
tree | 7d3a16fc29ca44fac68021e98163cbdc65e79324 /comphelper/source/compare | |
parent | 33e275dca79862cd22c4fafea6701ba9b1641786 (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in comphelper
Change-Id: I4d9b9e13801ebf7671ff651b931a6c4144860985
Reviewed-on: https://gerrit.libreoffice.org/77626
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'comphelper/source/compare')
-rw-r--r-- | comphelper/source/compare/AnyCompareFactory.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/comphelper/source/compare/AnyCompareFactory.cxx b/comphelper/source/compare/AnyCompareFactory.cxx index a912bb62e156..e4cec19feeed 100644 --- a/comphelper/source/compare/AnyCompareFactory.cxx +++ b/comphelper/source/compare/AnyCompareFactory.cxx @@ -118,9 +118,7 @@ sal_Bool SAL_CALL AnyCompareFactory::supportsService( const OUString& ServiceNam Sequence< OUString > SAL_CALL AnyCompareFactory::getSupportedServiceNames( ) { - const OUString aServiceName( "com.sun.star.ucb.AnyCompareFactory" ); - const Sequence< OUString > aSeq( &aServiceName, 1 ); - return aSeq; + return { "com.sun.star.ucb.AnyCompareFactory" }; } extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * |