DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc

git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com
2000-08-23 17:27:06 +00:00
parent c53de61c00
commit 7e0575bfee
632 changed files with 11678 additions and 10726 deletions

View File

@@ -58,18 +58,7 @@ public:
NS_IMPL_IDOMHTMLELEMENT_USING_GENERIC(mInner)
// nsIDOMHTMLTableColElement
NS_IMETHOD GetAlign(nsString& aAlign);
NS_IMETHOD SetAlign(const nsString& aAlign);
NS_IMETHOD GetCh(nsString& aCh);
NS_IMETHOD SetCh(const nsString& aCh);
NS_IMETHOD GetChOff(nsString& aChOff);
NS_IMETHOD SetChOff(const nsString& aChOff);
NS_IMETHOD GetSpan(PRInt32* aSpan);
NS_IMETHOD SetSpan(PRInt32 aSpan);
NS_IMETHOD GetVAlign(nsString& aVAlign);
NS_IMETHOD SetVAlign(const nsString& aVAlign);
NS_IMETHOD GetWidth(nsString& aWidth);
NS_IMETHOD SetWidth(const nsString& aWidth);
NS_DECL_IDOMHTMLTABLECOLELEMENT
// nsIJSScriptObject
NS_IMPL_IJSSCRIPTOBJECT_USING_GENERIC(mInner)
@@ -156,7 +145,7 @@ NS_IMPL_STRING_ATTR(nsHTMLTableColElement, Width, width)
NS_IMETHODIMP
nsHTMLTableColElement::StringToAttribute(nsIAtom* aAttribute,
const nsString& aValue,
const nsAReadableString& aValue,
nsHTMLValue& aResult)
{
/* ignore these attributes, stored simply as strings
@@ -198,7 +187,7 @@ nsHTMLTableColElement::StringToAttribute(nsIAtom* aAttribute,
NS_IMETHODIMP
nsHTMLTableColElement::AttributeToString(nsIAtom* aAttribute,
const nsHTMLValue& aValue,
nsString& aResult) const
nsAWritableString& aResult) const
{
/* ignore these attributes, stored already as strings
ch