From 7939bac0763bfbd4e1b8892bfe343ecbdc704999 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Tue, 15 May 2001 13:05:08 +0000 Subject: #65293# fix for gcc --- sot/source/sdstor/stgelem.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'sot/source/sdstor') diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx index e968f4c764a1..2db4a9bee5c5 100644 --- a/sot/source/sdstor/stgelem.cxx +++ b/sot/source/sdstor/stgelem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: stgelem.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: mm $ $Date: 2001-05-14 11:23:33 $ + * last change: $Author: rt $ $Date: 2001-05-15 14:05:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -298,8 +298,9 @@ static String ToUpperUnicode( const String & rStr ) aLocale.Language = OUString::createFromAscii( "en" ); aLocale.Country = OUString::createFromAscii( "US" ); */ - static CharClass aCC( com::sun::star::lang::Locale( rtl::OUString::createFromAscii( "en" ), - rtl::OUString::createFromAscii( "US" ), rtl::OUString() ) ); + static rtl::OUString aEN=rtl::OUString::createFromAscii( "en" ); + static rtl::OUString aUS=rtl::OUString::createFromAscii( "US" ); + static CharClass aCC( com::sun::star::lang::Locale( aEN, aUS, rtl::OUString() ) ); return aCC.toUpper( rStr, 0, rStr.Len() ); } -- cgit v1.2.3