return (gchar*)maiIfaceText->GetTextBeforeOffset(aOffset, aBoundaryType, aStartOffset, aEndOffset);
return NS_CONST_CAST(gchar*, maiIfaceText->GetTextBeforeOffset(aOffset, aBoundaryType, aStartOffset, aEndOffset));
getTextBeforeOffsetCB(AtkText *aText, gint aOffset,                      AtkTextBoundary aBoundaryType,                      gint *aStartOffset, gint *aEndOffset){    MaiInterfaceText *maiIfaceText = getText(aText);    if (!maiIfaceText)        return NULL;    return (gchar*)maiIfaceText->GetTextBeforeOffset(aOffset, aBoundaryType,                                                     aStartOffset, aEndOffset);}