Closed Bug 129148 Opened 18 years ago Closed 3 years ago

nsOutlinerBodyFrame::GetView(nsIOutlinerView **) hides nsFrame::GetView(nsIPresContext *, nsIView **) ditto for SetView

Categories

(Core :: XUL, defect, minor)

x86
FreeBSD
defect
Not set
minor

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: timeless, Assigned: janv)

References

Details

outliner/src/../../../../../html/base/src/nsFrame.h:248: warning: `nsFrame::GetView(nsIPresContext *, nsIView **)
outliner/src/nsOutlinerBodyFrame.h:236: warning:   by `nsOutlinerBodyFrame::GetView(nsIOutlinerView **)'
outliner/src/../../../../../html/base/src/nsFrame.h:249: warning: `nsFrame::SetView(nsIPresContext *, nsIView *)'
outliner/src/nsOutlinerBodyFrame.h:236: warning:   by `nsOutlinerBodyFrame::SetView(nsIOutlinerView *)'
I don't see an easy way to fix this bug.
One way is to rename outlinerBoxObject.view to outlinerBoxObject.outlinerView
(like outlinerBody)
I recall bryner did something similar for nsIContent, GetAttribute() ->
GetAttr()
But it might cause regressions.
Futuring for now.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Future
Blocks: 179028
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
nsOutlinerBodyFrame is gone after bug 110156. Please, file a new bug if this is still an issue.

https://github.com/mozilla/gecko-dev/commit/d38a0937d9c9
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.