diff options
Diffstat (limited to 'svl/source/config')
-rw-r--r-- | svl/source/config/languageoptions.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/svl/source/config/languageoptions.cxx b/svl/source/config/languageoptions.cxx index 3ec918d881b3..4d1990cce6d2 100644 --- a/svl/source/config/languageoptions.cxx +++ b/svl/source/config/languageoptions.cxx @@ -191,9 +191,7 @@ sal_Int16 SvtLanguageOptions::GetI18NScriptTypeOfLanguage( sal_uInt16 nLang ) SvtSystemLanguageOptions::SvtSystemLanguageOptions() : utl::ConfigItem( "System/L10N") { - uno::Sequence< OUString > aPropertyNames(1); - OUString* pNames = aPropertyNames.getArray(); - pNames[0] = "SystemLocale"; + uno::Sequence< OUString > aPropertyNames { "SystemLocale" }; uno::Sequence< uno::Any > aValues = GetProperties( aPropertyNames ); if ( aValues.getLength() ) |