summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unotext.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-08-15 20:02:41 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-15 20:49:30 +0200
commit39921c1657d0d131ab7ed6c5490052f53bb764cb (patch)
tree1da848963785f8c7fcff644f396220f06f1ed24b /editeng/source/uno/unotext.cxx
parentf817ce79d501ce32d54d6c8a3492f1913fb85a55 (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/unotext.cxx')
-rw-r--r--editeng/source/uno/unotext.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index fc83f3fff196..74d453939ce5 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -1442,11 +1442,9 @@ uno::Sequence< OUString > SAL_CALL SvxUnoTextRangeBase::getSupportedServiceNames
uno::Sequence< OUString > SvxUnoTextRangeBase::getSupportedServiceNames_Static()
{
- uno::Sequence< OUString > aSeq(3);
- aSeq[0] = "com.sun.star.style.CharacterProperties";
- aSeq[1] = "com.sun.star.style.CharacterPropertiesComplex";
- aSeq[2] = "com.sun.star.style.CharacterPropertiesAsian";
- return aSeq;
+ return uno::Sequence< OUString >{ "com.sun.star.style.CharacterProperties",
+ "com.sun.star.style.CharacterPropertiesComplex",
+ "com.sun.star.style.CharacterPropertiesAsian" };
}
// XTextRangeCompare