Changed GetNextSibling() to use a pointer argument instead of a reference

git-svn-id: svn://10.0.0.236/trunk@20223 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1999-02-10 06:13:38 +00:00
parent 339afcce8a
commit bd78450e96
55 changed files with 548 additions and 546 deletions

View File

@@ -94,7 +94,7 @@ nsLineBox::List(FILE* out, PRInt32 aIndent) const
PRInt32 n = ChildCount();
while (--n >= 0) {
frame->List(out, aIndent + 1);
frame->GetNextSibling(frame);
frame->GetNextSibling(&frame);
}
for (i = aIndent; --i >= 0; ) fputs(" ", out);
@@ -112,7 +112,7 @@ nsLineBox::LastChild() const
nsIFrame* frame = mFirstChild;
PRInt32 n = ChildCount() - 1;
while (--n >= 0) {
frame->GetNextSibling(frame);
frame->GetNextSibling(&frame);
}
return frame;
}
@@ -133,7 +133,7 @@ nsLineBox::Contains(nsIFrame* aFrame) const
if (frame == aFrame) {
return PR_TRUE;
}
frame->GetNextSibling(frame);
frame->GetNextSibling(&frame);
}
return PR_FALSE;
}
@@ -223,7 +223,7 @@ nsLineBox::DeleteLineList(nsIPresContext& aPresContext, nsLineBox* aLine)
// view.
for (nsIFrame* child = aLine->mFirstChild; child; ) {
nsIFrame* nextChild;
child->GetNextSibling(nextChild);
child->GetNextSibling(&nextChild);
child->DeleteFrame(aPresContext);
child = nextChild;
}