[XForms] Additional patch for bug 280423, r=merle+aaronr, NPOTB

git-svn-id: svn://10.0.0.236/trunk@242911 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
Olli.Pettay%helsinki.fi
2008-01-11 19:56:56 +00:00
parent 78a9e4a5ab
commit f387a1e859
8 changed files with 13 additions and 12 deletions

View File

@@ -202,7 +202,7 @@ private:
* @param aName Name of the context property.
* @param aValue Value of the context property.
*/
nsresult SetContextInfo(const char *aName, nsAString &aValue);
nsresult SetContextInfo(const char *aName, const nsAString &aValue);
MessageType mType;
@@ -1289,7 +1289,7 @@ PRBool nsXFormsMessageElement::IsEphemeral()
}
nsresult
nsXFormsMessageElement::SetContextInfo(const char *aName, nsAString &aValue)
nsXFormsMessageElement::SetContextInfo(const char *aName, const nsAString &aValue)
{
nsCOMPtr<nsXFormsContextInfo> contextInfo = new nsXFormsContextInfo(mElement);
NS_ENSURE_TRUE(contextInfo, NS_ERROR_OUT_OF_MEMORY);