bustage fix.

This commit is contained in:
dwitte@stanford.edu 2007-05-22 22:05:04 -07:00
parent 5cf44de899
commit bc0e86087c

View File

@ -72,10 +72,10 @@ getDocumentLocaleCB(AtkDocument *aDocument)
nsCOMPtr<nsIAccessNode> docAccessNode;
accWrap->QueryInterface(NS_GET_IID(nsIAccessNode),
getter_AddRefs(docAccessNode));
NS_ENSURE_TRUE(accDocument, nsnull);
NS_ENSURE_TRUE(docAccessNode, nsnull);
nsAutoString locale;
docAccessNode->GetLanguage(getter_AddRefs(locale));
docAccessNode->GetLanguage(locale);
if (locale.IsEmpty()) {
return nsnull;
}