From 25c10ed028da5c547b11f1f461916897272b0e6d Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Thu, 26 Jun 2008 00:39:00 +0000 Subject: QAR-628 merge string-cleanup-5 -r 90476:90508 -> release dataserver-is-deprecated --- indra/llui/llresmgr.cpp | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'indra/llui/llresmgr.cpp') diff --git a/indra/llui/llresmgr.cpp b/indra/llui/llresmgr.cpp index 6cfc6a924b..cb4d8c3373 100644 --- a/indra/llui/llresmgr.cpp +++ b/indra/llui/llresmgr.cpp @@ -292,7 +292,7 @@ std::string LLResMgr::getMonetaryString( S32 input ) const BOOL negative_before = negative && (conv->n_sign_posn != 2); BOOL negative_after = negative && (conv->n_sign_posn == 2); - LLString digits = llformat("%u", abs(input)); + std::string digits = llformat("%u", abs(input)); if( !grouping || !grouping[0] ) { if( negative_before ) @@ -378,10 +378,10 @@ std::string LLResMgr::getMonetaryString( S32 input ) const return output; } -void LLResMgr::getIntegerString( LLString& output, S32 input ) const +void LLResMgr::getIntegerString( std::string& output, S32 input ) const { S32 fraction = 0; - LLString fraction_string; + std::string fraction_string; S32 remaining_count = input; while(remaining_count > 0) { @@ -415,16 +415,16 @@ void LLResMgr::getIntegerString( LLString& output, S32 input ) const } } -const LLString LLFONT_ID_NAMES[] = +const std::string LLFONT_ID_NAMES[] = { - LLString("OCRA"), - LLString("SANSSERIF"), - LLString("SANSSERIF_SMALL"), - LLString("SANSSERIF_BIG"), - LLString("SMALL"), + std::string("OCRA"), + std::string("SANSSERIF"), + std::string("SANSSERIF_SMALL"), + std::string("SANSSERIF_BIG"), + std::string("SMALL"), }; -const LLFontGL* LLResMgr::getRes( LLString font_id ) const +const LLFontGL* LLResMgr::getRes( std::string font_id ) const { for (S32 i=0; i