if (table) { const nsAFlatCString& ident=
if(table) { const nsCString& ident=
nsComputedDOMStyle::GetBorderCollapse(nsIFrame *aFrame,                                      nsIDOMCSSValue** aValue){  nsROCSSPrimitiveValue* val = GetROCSSPrimitiveValue();  NS_ENSURE_TRUE(val, NS_ERROR_OUT_OF_MEMORY);  const nsStyleTableBorder* table = nsnull;  GetStyleData(eStyleStruct_TableBorder, (const nsStyleStruct*&)table, aFrame);  if (table) {    const nsAFlatCString& ident=      nsCSSProps::SearchKeywordTable(table->mBorderCollapse,                                     nsCSSProps::kBorderCollapseKTable);    val->SetIdent(ident);  }  return CallQueryInterface(val, aValue);}