diff options
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/uno/unotext.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index fc58fffcae07..f9b09dd1d544 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -1494,10 +1494,10 @@ uno::Sequence< OUString > SAL_CALL SvxUnoTextRangeBase::getSupportedServiceNames uno::Sequence< OUString > SAL_CALL SvxUnoTextRangeBase::getSupportedServiceNames_Static() SAL_THROW(()) { - uno::Sequence< OUString > aSeq; - comphelper::ServiceInfoHelper::addToSequence( aSeq, 3, "com.sun.star.style.CharacterProperties", - "com.sun.star.style.CharacterPropertiesComplex", - "com.sun.star.style.CharacterPropertiesAsian"); + 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; } |