mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bustage fix.
This commit is contained in:
parent
5cf44de899
commit
bc0e86087c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user