summaryrefslogtreecommitdiffstats
path: root/i18npool/source/characterclassification/unoscripttypedetector.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/characterclassification/unoscripttypedetector.cxx')
-rw-r--r--i18npool/source/characterclassification/unoscripttypedetector.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/i18npool/source/characterclassification/unoscripttypedetector.cxx b/i18npool/source/characterclassification/unoscripttypedetector.cxx
index ecdd68ba587f..48c5138c0a34 100644
--- a/i18npool/source/characterclassification/unoscripttypedetector.cxx
+++ b/i18npool/source/characterclassification/unoscripttypedetector.cxx
@@ -77,8 +77,7 @@ UnoScriptTypeDetector::supportsService(const OUString& ServiceName) throw( css::
css::uno::Sequence< OUString > SAL_CALL
UnoScriptTypeDetector::getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception )
{
- css::uno::Sequence< OUString > aRet(1);
- aRet[0] = "com.sun.star.i18n.ScriptTypeDetector";
+ css::uno::Sequence< OUString > aRet { "com.sun.star.i18n.ScriptTypeDetector" };
return aRet;
}