ConvertTexttoAsterisks(accWrap, autoStr);
getTextCB(AtkText *aText, 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;    nsresult rv = accText->GetText(aStartOffset, aEndOffset, autoStr);    NS_ENSURE_SUCCESS(rv, nsnull);    NS_ConvertUTF16toUTF8 cautoStr(autoStr);    //copy and return, libspi will free it.    return (cautoStr.get()) ? g_strdup(cautoStr.get()) : nsnull;}