From 75342169912d990d0e6c010bae33cc778a64b3ea Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Thu, 27 Apr 2000 06:39:07 +0000 Subject: [PATCH] Get rid of SetString() usages. r=scc --- intl/unicharutil/src/nsCaseConversionImp2.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/intl/unicharutil/src/nsCaseConversionImp2.cpp b/intl/unicharutil/src/nsCaseConversionImp2.cpp index b9c76809eb8..feef864c4b6 100644 --- a/intl/unicharutil/src/nsCaseConversionImp2.cpp +++ b/intl/unicharutil/src/nsCaseConversionImp2.cpp @@ -342,7 +342,7 @@ nsresult nsCaseConversionImp2::ToTitle( NS_IMETHODIMP nsCaseConversionImp2::ToUpper (const PRUnichar* anIn, PRUint32 aLen, nsString& anOut, const PRUnichar* aLocale) { - anOut.SetString(anIn,aLen); + anOut.Assign(anIn,aLen); // Special casing - Turkish dotless I if((nsnull != aLocale ) && (PRUnichar('t')==aLocale[0]) && (PRUnichar('r') == aLocale[1])) @@ -373,7 +373,7 @@ NS_IMETHODIMP nsCaseConversionImp2::ToUpper NS_IMETHODIMP nsCaseConversionImp2::ToLower (const PRUnichar* anIn, PRUint32 aLen, nsString& anOut, const PRUnichar* aLocale) { - anOut.SetString(anIn,aLen); + anOut.Assign(anIn,aLen); // Special casing - Turkish dotless I if((nsnull != aLocale ) && (PRUnichar('t')==aLocale[0]) && (PRUnichar('r') == aLocale[1])) @@ -393,7 +393,7 @@ NS_IMETHODIMP nsCaseConversionImp2::ToTitle (const PRUnichar* anIn, PRUint32 aLen, nsString& anOut, const PRUnichar* aLocale, PRBool aStartInWordBoundary) { - anOut.SetString(anIn,aLen); + anOut.Assign(anIn,aLen); // Special casing - Turkish dotless I if((nsnull != aLocale ) && (PRUnichar('t')==aLocale[0]) && (PRUnichar('r') == aLocale[1]))