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