ConvertTexttoAsterisks(accWrap, autoStr);
getTextAtOffsetCB(AtkText *aText, gint aOffset,                  AtkTextBoundary aBoundaryType,                  gint *aStartOffset, gint *aEndOffset){    nsAccessibleWrap *accWrap = GetAccessibleWrap(ATK_OBJECT(aText));    NS_ENSURE_TRUE(accWrap, nsnull);    nsCOMPtr<nsIAccessibleText> accText;    accWrap->QueryInterface(NS_GET_IID(nsIAccessibleText),                            getter_AddRefs(accText));    NS_ENSURE_TRUE(accText, nsnull);    nsAutoString autoStr;    PRInt32 startOffset = 0, endOffset = 0;    nsresult rv =        accText->GetTextAtOffset(aOffset, aBoundaryType,                                 &startOffset, &endOffset, autoStr);    *aStartOffset = startOffset;    *aEndOffset = endOffset;    NS_ENSURE_SUCCESS(rv, nsnull);    NS_ConvertUTF16toUTF8 cautoStr(autoStr);    return (cautoStr.get()) ? g_strdup(cautoStr.get()) : nsnull;}