summaryrefslogtreecommitdiff
path: root/sot/source
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-11-23 23:06:10 +0100
committerEike Rathke <erack@redhat.com>2012-11-23 23:09:16 +0100
commitaf60316514f3ae3d4c475819bf86f2af837171e3 (patch)
treeccfbd673bd4a53047a04dad6457d09c7eea1566c /sot/source
parent37f5b864014e9ad17a561b77ea9f6141650e92ad (diff)
some i18n wrappers with LanguageTag
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
Diffstat (limited to 'sot/source')
-rw-r--r--sot/source/sdstor/stgelem.cxx9
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 );
}