diff options
Diffstat (limited to 'sc/source/core/tool/compiler.cxx')
-rw-r--r-- | sc/source/core/tool/compiler.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index 9771136c5512..026486233e42 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -211,12 +211,9 @@ bool ScCompiler::IsEnglishSymbol( const String& rName ) void ScCompiler::InitCharClassEnglish() { - ::com::sun::star::lang::Locale aLocale( - OUString( RTL_CONSTASCII_USTRINGPARAM( "en")), - OUString( RTL_CONSTASCII_USTRINGPARAM( "US")), - OUString()); + ::com::sun::star::lang::Locale aLocale( "en", "US", ""); pCharClassEnglish = new CharClass( - ::comphelper::getProcessComponentContext(), aLocale); + ::comphelper::getProcessComponentContext(), LanguageTag( aLocale)); } |