summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unotext.cxx
diff options
context:
space:
mode:
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