From e7ba34d28693198c52559bd7f21e0bc7b316a806 Mon Sep 17 00:00:00 2001 From: "sicking%bigfoot.com" Date: Thu, 27 Mar 2003 00:47:30 +0000 Subject: [PATCH] not part of build. Fix buildbustage from landing of bug 195262 git-svn-id: svn://10.0.0.236/trunk@140369 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/transformiix/source/xslt/txXMLOutput.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/extensions/transformiix/source/xslt/txXMLOutput.cpp b/mozilla/extensions/transformiix/source/xslt/txXMLOutput.cpp index c3dd574fa5e..c5b9dc4c3f6 100644 --- a/mozilla/extensions/transformiix/source/xslt/txXMLOutput.cpp +++ b/mozilla/extensions/transformiix/source/xslt/txXMLOutput.cpp @@ -264,10 +264,10 @@ void txXMLOutput::closeStartTag(MBool aUseEmptyElementShorthand) txOutAttr* att; while ((att = (txOutAttr*)iter.next())) { *mOut << SPACE; - const PRUnichar* attrVal; - att->mName.mLocalName->GetUnicode(&attrVal); + nsCAutoString attrVal; + att->mName.mLocalName->ToUTF8String(attrVal); // XXX consult the XML spec what we really wanna do here - *mOut << NS_ConvertUCS2toUTF8(nsDependentString(attrVal)).get(); + *mOut << attrVal.get(); if (!att->mShorthand) { *mOut << EQUALS << DOUBLE_QUOTE; printWithXMLEntities(att->mValue, MB_TRUE);