result = cellFrame->QueryInterface(NS_GET_IID(nsITableCellLayout), (void**)(&cellLayoutObject)); if (NS_FAILED(result)) return nsnull;
CallQueryInterface(cellFrame, &cellLayoutObject);
nsSelection::GetCellLayout(nsIContent *aCellContent){  // Get frame for cell  nsIFrame  *cellFrame = nsnull;  nsresult result = GetTracker()->GetPrimaryFrameFor(aCellContent, &cellFrame);  if (!cellFrame) return nsnull;  nsITableCellLayout *cellLayoutObject = nsnull;  result = cellFrame->QueryInterface(NS_GET_IID(nsITableCellLayout), (void**)(&cellLayoutObject));   if (NS_FAILED(result)) return nsnull;  return cellLayoutObject;}