PRUnichar* p = NS_CONST_CAST(PRUnichar*, result.get());
PRUnichar* p = result.BeginWriting();
static PRBool OtherDecimalToText(PRInt32 ordinal, PRUnichar zeroChar, nsString& result){   PRUnichar diff = zeroChar - PRUnichar('0');   DecimalToText(ordinal, result);   PRUnichar* p = NS_CONST_CAST(PRUnichar*, result.get());   if (ordinal < 0) {     // skip the leading '-'     ++p;   }        for(; nsnull != *p ; p++)       *p += diff;   return PR_TRUE;}