diff options
Diffstat (limited to 'sot/source')
-rw-r--r-- | sot/source/sdstor/stgelem.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx index d36eb2fd3de8..66734bcfc273 100644 --- a/sot/source/sdstor/stgelem.cxx +++ b/sot/source/sdstor/stgelem.cxx @@ -283,14 +283,7 @@ sal_Bool StgEntry::Init() static String ToUpperUnicode( const String & rStr ) { // I don't know the locale, so en_US is hopefully fine - /* - com.sun.star.lang.Locale aLocale; - aLocale.Language = OUString("en"); - aLocale.Country = OUString("US"); - */ - static rtl::OUString aEN("en"); - static rtl::OUString aUS("US"); - static CharClass aCC( com::sun::star::lang::Locale( aEN, aUS, rtl::OUString() ) ); + static CharClass aCC( LanguageTag( com::sun::star::lang::Locale( "en", "US", "" )) ); return aCC.uppercase( rStr ); } |