Minor change to remove compile warning

This commit is contained in:
cmanske%netscape.com 2001-02-16 05:12:08 +00:00
Родитель af45b4d7d3
Коммит 3baa7b403e
3 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -2514,10 +2514,10 @@ printf("HandleTableSelection: Unselecting mUnselectCellOnMouseUp; rangeCount=%d\
range->GetStartOffset(&offset);
// Be sure previous selection is a table cell
nsCOMPtr<nsIContent> parentContent = do_QueryInterface(parent);
nsCOMPtr<nsIContent> childContent;
result = parentContent->ChildAt(offset, *getter_AddRefs(childContent));
nsCOMPtr<nsIContent> child;
result = parentContent->ChildAt(offset, *getter_AddRefs(child));
if (NS_FAILED(result)) return result;
if (childContent && IsCell(childContent))
if (child && IsCell(child))
previousCellParent = parent;
// We're done if we didn't find parent of a previously-selected cell

Просмотреть файл

@ -2514,10 +2514,10 @@ printf("HandleTableSelection: Unselecting mUnselectCellOnMouseUp; rangeCount=%d\
range->GetStartOffset(&offset);
// Be sure previous selection is a table cell
nsCOMPtr<nsIContent> parentContent = do_QueryInterface(parent);
nsCOMPtr<nsIContent> childContent;
result = parentContent->ChildAt(offset, *getter_AddRefs(childContent));
nsCOMPtr<nsIContent> child;
result = parentContent->ChildAt(offset, *getter_AddRefs(child));
if (NS_FAILED(result)) return result;
if (childContent && IsCell(childContent))
if (child && IsCell(child))
previousCellParent = parent;
// We're done if we didn't find parent of a previously-selected cell

Просмотреть файл

@ -2514,10 +2514,10 @@ printf("HandleTableSelection: Unselecting mUnselectCellOnMouseUp; rangeCount=%d\
range->GetStartOffset(&offset);
// Be sure previous selection is a table cell
nsCOMPtr<nsIContent> parentContent = do_QueryInterface(parent);
nsCOMPtr<nsIContent> childContent;
result = parentContent->ChildAt(offset, *getter_AddRefs(childContent));
nsCOMPtr<nsIContent> child;
result = parentContent->ChildAt(offset, *getter_AddRefs(child));
if (NS_FAILED(result)) return result;
if (childContent && IsCell(childContent))
if (child && IsCell(child))
previousCellParent = parent;
// We're done if we didn't find parent of a previously-selected cell