Fixed ptr compilation bug

git-svn-id: svn://10.0.0.236/trunk@1502 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp 1998-05-13 00:13:09 +00:00
parent 40fbd986a8
commit c10b69d3ba
2 changed files with 2 additions and 2 deletions

View File

@ -561,7 +561,7 @@ nsReflowStatus nsInlineFrame::ReflowUnmappedChildren(nsIPresContext* aPresContex
for (;;) {
// Get the next content object
nsIContentPtr kid = mContent->ChildAt(kidIndex);
if (nsnull == kid) {
if (kid.IsNull()) {
result = NS_FRAME_COMPLETE;
break;
}

View File

@ -561,7 +561,7 @@ nsReflowStatus nsInlineFrame::ReflowUnmappedChildren(nsIPresContext* aPresContex
for (;;) {
// Get the next content object
nsIContentPtr kid = mContent->ChildAt(kidIndex);
if (nsnull == kid) {
if (kid.IsNull()) {
result = NS_FRAME_COMPLETE;
break;
}