Aded check for null parent to fix printing

git-svn-id: svn://10.0.0.236/trunk@22909 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1999-03-05 20:14:05 +00:00
parent 36da73bc23
commit e0396140b8

View File

@@ -901,6 +901,9 @@ NS_IMETHODIMP nsScrollingView :: CreateScrollControls(nsNativeWidget aNative)
while (win == nsnull) {
nsIView * parent;
view->GetParent(parent);
if (nsnull == parent) {
break;
}
parent->GetWidget(win);
view = parent;
}