DeCOMtaminate nsHTMLReflowCommand as much as possible without cleaning up callers. b=213333 r+sr=roc

This commit is contained in:
dbaron@dbaron.org
2003-07-22 04:23:46 +00:00
parent 90fb65cb8e
commit d7cab1f724
4 changed files with 108 additions and 164 deletions

View File

@@ -141,59 +141,6 @@ nsHTMLReflowCommand::~nsHTMLReflowCommand()
NS_IF_RELEASE(mListName);
}
nsresult
nsHTMLReflowCommand::GetTarget(nsIFrame*& aTargetFrame) const
{
aTargetFrame = mTargetFrame;
return NS_OK;
}
nsresult
nsHTMLReflowCommand::SetTarget(nsIFrame* aTargetFrame)
{
mTargetFrame = aTargetFrame;
return NS_OK;
}
nsresult
nsHTMLReflowCommand::GetType(nsReflowType& aReflowType) const
{
aReflowType = mType;
return NS_OK;
}
nsresult
nsHTMLReflowCommand::GetAttribute(nsIAtom *& aAttribute) const
{
aAttribute = mAttribute;
if (nsnull!=aAttribute)
NS_ADDREF(aAttribute);
return NS_OK;
}
nsresult
nsHTMLReflowCommand::GetChildFrame(nsIFrame*& aChildFrame) const
{
aChildFrame = mChildFrame;
return NS_OK;
}
nsresult
nsHTMLReflowCommand::GetChildListName(nsIAtom*& aListName) const
{
aListName = mListName;
NS_IF_ADDREF(aListName);
return NS_OK;
}
nsresult
nsHTMLReflowCommand::SetChildListName(nsIAtom* aListName)
{
mListName = aListName;
NS_IF_ADDREF(mListName);
return NS_OK;
}
nsresult
nsHTMLReflowCommand::List(FILE* out) const
{
@@ -247,18 +194,3 @@ nsHTMLReflowCommand::List(FILE* out) const
#endif
return NS_OK;
}
nsresult
nsHTMLReflowCommand::GetFlags(PRInt32* aFlags)
{
*aFlags = mFlags;
return NS_OK;
}
nsresult
nsHTMLReflowCommand::SetFlags(PRInt32 aFlags)
{
mFlags = aFlags;
return NS_OK;
}