Changed a bunch more nsIFrame member functions to be pointer arguments

instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
troy%netscape.com
1999-02-10 05:38:18 +00:00
parent d76d572b5a
commit 339afcce8a
65 changed files with 225 additions and 217 deletions

View File

@@ -452,7 +452,7 @@ nsHTMLButtonControlFrame::GetTranslatedRect(nsRect& aRect)
{
nsIView* view;
nsPoint viewOffset(0,0);
GetOffsetFromView(viewOffset, view);
GetOffsetFromView(viewOffset, &view);
while (nsnull != view) {
nsPoint tempOffset;
view->GetPosition(&tempOffset.x, &tempOffset.y);
@@ -476,7 +476,7 @@ nsHTMLButtonControlFrame::HandleEvent(nsIPresContext& aPresContext,
nsresult result = NS_OK;
nsIView* view;
GetView(view);
GetView(&view);
if (view) {
nsIViewManager* viewMan;
view->GetViewManager(viewMan);
@@ -612,7 +612,7 @@ nsHTMLButtonControlFrame::Reflow(nsIPresContext& aPresContext,
if (!mDidInit) {
// create our view, we need a view to grab the mouse
nsIView* view;
GetView(view);
GetView(&view);
if (!view) {
nsresult result = nsRepository::CreateInstance(kViewCID, nsnull, kIViewIID, (void **)&view);
nsIPresShell *presShell = aPresContext.GetShell();
@@ -621,8 +621,8 @@ nsHTMLButtonControlFrame::Reflow(nsIPresContext& aPresContext,
nsIFrame* parWithView;
nsIView *parView;
GetParentWithView(parWithView);
parWithView->GetView(parView);
GetParentWithView(&parWithView);
parWithView->GetView(&parView);
// the view's size is not know yet, but its size will be kept in synch with our frame.
nsRect boundBox(0, 0, 500, 500);
result = view->Init(viewMan, boundBox, parView, nsnull);