From bd80ff75a216d6494a1de64896856f4bbccc52ff Mon Sep 17 00:00:00 2001 From: Gert Faller Date: Mon, 22 Nov 2010 22:17:17 +0100 Subject: RTL_CONSTASCII_USTRINGPARAM in libs-gui 06 --- sot/source/sdstor/stgelem.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sot/source/sdstor/stgelem.cxx') 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() ); } -- cgit v1.2.3