if (!default_text) default_text = "";
textarea_reset(FEFormData *fed,	       LO_FormElementStruct *form){  LO_FormElementData *form_data = XP_GetFormElementData(form);  FETextAreaFormData *ta_fed = (FETextAreaFormData*)fed;  char *default_text = (char*)XP_FormGetDefaultText(form_data);  LO_TextAttr *text_attr = XP_GetFormTextAttr(form);  int16 charset = text_attr->charset;  unsigned char *loc;  fe_forms_clean_text (fed->context, charset, default_text, False);  XtVaSetValues (ta_fed->text_widget, XmNcursorPosition, 0, 0);  loc = fe_ConvertToLocaleEncoding (charset, (unsigned char*)default_text);  XtVaSetValues (ta_fed->text_widget, XmNvalue, loc, 0);  if (((char *) loc) != default_text)    {      XP_FREE (loc);    }}