summaryrefslogtreecommitdiff
path: root/i18npool/source/collator/chaptercollator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/collator/chaptercollator.cxx')
-rw-r--r--i18npool/source/collator/chaptercollator.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/i18npool/source/collator/chaptercollator.cxx b/i18npool/source/collator/chaptercollator.cxx
index e290c39abbb5..b18e0fcf8859 100644
--- a/i18npool/source/collator/chaptercollator.cxx
+++ b/i18npool/source/collator/chaptercollator.cxx
@@ -90,8 +90,7 @@ ChapterCollator::supportsService(const OUString& rServiceName) throw( RuntimeExc
Sequence< OUString > SAL_CALL
ChapterCollator::getSupportedServiceNames() throw( RuntimeException, std::exception )
{
- Sequence< OUString > aRet(1);
- aRet[0] = OUString::createFromAscii(cChapCollator);
+ Sequence< OUString > aRet { OUString::createFromAscii(cChapCollator) };
return aRet;
}