diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-08-15 20:02:41 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-08-15 20:49:30 +0200 |
commit | 39921c1657d0d131ab7ed6c5490052f53bb764cb (patch) | |
tree | 1da848963785f8c7fcff644f396220f06f1ed24b /editeng/source/uno/unonrule.cxx | |
parent | f817ce79d501ce32d54d6c8a3492f1913fb85a55 (diff) |
tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctor
in editeng
Change-Id: If4b7e216edf7d589c59f50e6d0ef91d669af2d15
Reviewed-on: https://gerrit.libreoffice.org/77542
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'editeng/source/uno/unonrule.cxx')
-rw-r--r-- | editeng/source/uno/unonrule.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx index 3f2f344d9179..c9df5b169448 100644 --- a/editeng/source/uno/unonrule.cxx +++ b/editeng/source/uno/unonrule.cxx @@ -165,9 +165,7 @@ sal_Bool SAL_CALL SvxUnoNumberingRules::supportsService( const OUString& Service Sequence< OUString > SAL_CALL SvxUnoNumberingRules::getSupportedServiceNames( ) { - OUString aService( "com.sun.star.text.NumberingRules" ); - Sequence< OUString > aSeq( &aService, 1 ); - return aSeq; + return Sequence< OUString > { "com.sun.star.text.NumberingRules" }; } Sequence<beans::PropertyValue> SvxUnoNumberingRules::getNumberingRuleByIndex(sal_Int32 nIndex) const |