nsAutoString nullstr; nullstr.Assign(NS_LITERAL_STRING("(null)"));
NS_NAMED_LITERAL_STRING(nullstr, "(null)");
static int cvt_S(SprintfState *ss, const PRUnichar *s, int width,                 int prec, int flags){    int slen;    if (prec == 0) {	return 0;    }    /* Limit string length by precision value */    slen = s ? nsCRT::strlen(s) : 6;    if (prec > 0) {	if (prec < slen) {	    slen = prec;	}    }    /* and away we go */    nsAutoString nullstr;    nullstr.Assign(NS_LITERAL_STRING("(null)"));    return fill2(ss, s ? s : nullstr.get(), slen, width, flags);}