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

@@ -195,7 +195,7 @@ nsFormControlFrame::DidReflow(nsIPresContext& aPresContext,
// positioned then we show it.
if (NS_FRAME_REFLOW_FINISHED == aStatus) {
nsIView* view = nsnull;
GetView(view);
GetView(&view);
if (nsnull != view) {
view->SetVisibility(nsViewVisibility_kShow);
}
@@ -249,7 +249,7 @@ nsFormControlFrame::Reflow(nsIPresContext& aPresContext,
// absolutely positioned controls already have a view but not a widget
nsIView* view = nsnull;
GetView(view);
GetView(&view);
if (nsnull == view) {
result = nsRepository::CreateInstance(kViewCID, nsnull, kIViewIID, (void **)&view);
if (!NS_SUCCEEDED(result)) {
@@ -261,8 +261,8 @@ nsFormControlFrame::Reflow(nsIPresContext& aPresContext,
nsIFrame* parWithView;
nsIView *parView;
GetParentWithView(parWithView);
parWithView->GetView(parView);
GetParentWithView(&parWithView);
parWithView->GetView(&parView);
// initialize the view as hidden since we don't know the (x,y) until Paint
result = view->Init(viewMan, boundBox, parView, nsnull, nsViewVisibility_kHide);
@@ -556,7 +556,7 @@ NS_METHOD nsFormControlFrame::HandleEvent(nsIPresContext& aPresContext,
// XXX if there is no view, it could be an image button. Unfortunately,
// every image button will get every event.
nsIView* view;
GetView(view);
GetView(&view);
if (view) {
if (mWidget != aEvent->widget) {
aEventStatus = nsEventStatus_eIgnore;