diff options
Diffstat (limited to 'lingucomponent/source/languageguessing/guesslang.cxx')
-rw-r--r-- | lingucomponent/source/languageguessing/guesslang.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lingucomponent/source/languageguessing/guesslang.cxx b/lingucomponent/source/languageguessing/guesslang.cxx index 500f672a49bd..8ac3e8da7e34 100644 --- a/lingucomponent/source/languageguessing/guesslang.cxx +++ b/lingucomponent/source/languageguessing/guesslang.cxx @@ -57,8 +57,7 @@ using namespace ::com::sun::star::linguistic2; static Sequence< OUString > getSupportedServiceNames_LangGuess_Impl() { - Sequence<OUString> names(1); - names[0] = SERVICENAME; + Sequence<OUString> names { SERVICENAME }; return names; } |