Bug 353385, Fix warning in nsTreeBoxObject.cpp, r+sr=neil

git-svn-id: svn://10.0.0.236/trunk@212233 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
flamingice%sourmilk.net
2006-09-24 05:45:19 +00:00
parent 50e5d06929
commit 6d6be1c585

View File

@@ -183,7 +183,7 @@ NS_IMETHODIMP nsTreeBoxObject::GetView(nsITreeView * *aView)
if (!mView) {
// No tree builder, create a tree content view.
nsresult rv = NS_NewTreeContentView(getter_AddRefs(mView));
NS_ENSURE_TRUE(rv, rv);
NS_ENSURE_SUCCESS(rv, rv);
}
// Initialise the frame and view