summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgelem.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-22 22:17:17 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-22 22:17:17 +0100
commitbd80ff75a216d6494a1de64896856f4bbccc52ff (patch)
treeab515c5c4c5932f75676eac95914fb64a4fc83b8 /sot/source/sdstor/stgelem.cxx
parent6cf3645e7d2c2c0c6e3be09361a29e54f41849a4 (diff)
RTL_CONSTASCII_USTRINGPARAM in libs-gui 06
Diffstat (limited to 'sot/source/sdstor/stgelem.cxx')
-rw-r--r--sot/source/sdstor/stgelem.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index df373898e219..e6b318da7148 100644
--- a/sot/source/sdstor/stgelem.cxx
+++ b/sot/source/sdstor/stgelem.cxx
@@ -269,11 +269,11 @@ 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::createFromAscii( "en" );
- aLocale.Country = OUString::createFromAscii( "US" );
+ aLocale.Language = OUString(RTL_CONSTASCII_USTRINGPARAM("en"));
+ aLocale.Country = OUString(RTL_CONSTASCII_USTRINGPARAM("US"));
*/
- static rtl::OUString aEN=rtl::OUString::createFromAscii( "en" );
- static rtl::OUString aUS=rtl::OUString::createFromAscii( "US" );
+ static rtl::OUString aEN(RTL_CONSTASCII_USTRINGPARAM("en"));
+ static rtl::OUString aUS(RTL_CONSTASCII_USTRINGPARAM("US"));
static CharClass aCC( com::sun::star::lang::Locale( aEN, aUS, rtl::OUString() ) );
return aCC.toUpper( rStr, 0, rStr.Len() );
}