diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/Library_sot.mk | 1 | ||||
-rw-r--r-- | sot/source/sdstor/stgelem.cxx | 9 |
2 files changed, 2 insertions, 8 deletions
diff --git a/sot/Library_sot.mk b/sot/Library_sot.mk index 36b4e19fbf61..dd0723cb70ea 100644 --- a/sot/Library_sot.mk +++ b/sot/Library_sot.mk @@ -47,6 +47,7 @@ $(eval $(call gb_Library_use_libraries,sot,\ cppu \ cppuhelper \ sal \ + i18nisolang1 \ tl \ ucbhelper \ utl \ 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 ); } |