Bug 340272 Ensure that tree.columns is always initialised r=enn sr=roc

This commit is contained in:
neil%parkwaycc.co.uk 2006-07-02 20:21:26 +00:00
parent de277db377
commit 6d455d682f

View File

@ -592,6 +592,7 @@ nsTreeBodyFrame::GetTreeBody(nsIDOMElement** aElement)
NS_IMETHODIMP
nsTreeBodyFrame::GetColumns(nsITreeColumns** aColumns)
{
EnsureBoxObject();
NS_IF_ADDREF(*aColumns = mColumns);
return NS_OK;
}