+2000-11-07 Allan Rae <rae@lyx.org>
+
+ * src/frontends/xforms/FormPreferences.C (feedback): make sure
+ ob isn't 0 before using it. See comments in function.
+
+ * src/frontends/xforms/forms/fdfixc.sed: tiny spacing fix.
+
+ * src/frontends/xforms/form_*.C: regenerated
+
2000-11-07 Lars Gullik Bjønnes <larsbj@lyx.org>
* src/LaTeX.C (deplog): change reg1 to handle (/.../.../fil.sty)
src/frontends/kde/tocdlg.C
src/frontends/kde/urldlg.C
src/frontends/xforms/FormBase.h
-src/frontends/xforms/form_citation.C
src/frontends/xforms/FormCitation.C
-src/frontends/xforms/form_copyright.C
+src/frontends/xforms/form_citation.C
src/frontends/xforms/FormCopyright.C
-src/frontends/xforms/form_document.C
+src/frontends/xforms/form_copyright.C
src/frontends/xforms/FormDocument.C
-src/frontends/xforms/form_error.C
+src/frontends/xforms/form_document.C
src/frontends/xforms/FormError.C
-src/frontends/xforms/form_graphics.C
+src/frontends/xforms/form_error.C
src/frontends/xforms/FormGraphics.C
-src/frontends/xforms/form_index.C
+src/frontends/xforms/form_graphics.C
src/frontends/xforms/FormIndex.C
+src/frontends/xforms/form_index.C
src/frontends/xforms/FormInset.h
-src/frontends/xforms/form_paragraph.C
src/frontends/xforms/FormParagraph.C
-src/frontends/xforms/form_preferences.C
+src/frontends/xforms/form_paragraph.C
src/frontends/xforms/FormPreferences.C
-src/frontends/xforms/form_print.C
+src/frontends/xforms/form_preferences.C
src/frontends/xforms/FormPrint.C
-src/frontends/xforms/form_ref.C
+src/frontends/xforms/form_print.C
src/frontends/xforms/FormRef.C
-src/frontends/xforms/form_tabular.C
+src/frontends/xforms/form_ref.C
src/frontends/xforms/FormTabular.C
-src/frontends/xforms/form_tabular_create.C
+src/frontends/xforms/form_tabular.C
src/frontends/xforms/FormTabularCreate.C
-src/frontends/xforms/form_toc.C
+src/frontends/xforms/form_tabular_create.C
src/frontends/xforms/FormToc.C
-src/frontends/xforms/form_url.C
+src/frontends/xforms/form_toc.C
src/frontends/xforms/FormUrl.C
+src/frontends/xforms/form_url.C
src/frontends/xforms/Menubar_pimpl.C
src/gettext.h
src/importer.C
void FormPreferences::feedback( FL_OBJECT * ob )
{
+ // Angus, do you really want to allow ob to be 0?
+ // You set this in feedbackPost. Why?
+ if (!ob) return; // stop a segfault below.
+ // an alternative to the above is to check feedbackObj in
+ // FeedbackCB and not call this function at all. But that's a
+ // matter of deciding who should be checking the parameters for this
+ // function.
+
string str;
if (ob->form->fdui == colours_) {
FD_form_citation::~FD_form_citation()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_copyright::~FD_form_copyright()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_tabbed_document::~FD_form_tabbed_document()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_doc_paper::~FD_form_doc_paper()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_doc_class::~FD_form_doc_class()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_doc_language::~FD_form_doc_language()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_doc_options::~FD_form_doc_options()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_doc_bullet::~FD_form_doc_bullet()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_error::~FD_form_error()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_graphics::~FD_form_graphics()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_index::~FD_form_index()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_paragraph_general::~FD_form_paragraph_general()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_paragraph_extra::~FD_form_paragraph_extra()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_tabbed_paragraph::~FD_form_tabbed_paragraph()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_preferences::~FD_form_preferences()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_outer_tab::~FD_form_outer_tab()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_screen_fonts::~FD_form_screen_fonts()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_outputs_misc::~FD_form_outputs_misc()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_spellchecker::~FD_form_spellchecker()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_inputs_misc::~FD_form_inputs_misc()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_language::~FD_form_language()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_colours::~FD_form_colours()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_converters::~FD_form_converters()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_formats::~FD_form_formats()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_lnf_misc::~FD_form_lnf_misc()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_interface::~FD_form_interface()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_printer::~FD_form_printer()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_paths::~FD_form_paths()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_print::~FD_form_print()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_ref::~FD_form_ref()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_tabular::~FD_form_tabular()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_tabular_options::~FD_form_tabular_options()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_column_options::~FD_form_column_options()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_cell_options::~FD_form_cell_options()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_longtable_options::~FD_form_longtable_options()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_tabular_create::~FD_form_tabular_create()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_toc::~FD_form_toc()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
FD_form_url::~FD_form_url()
{
- if (form->visible ) fl_hide_form( form );
+ if ( form->visible ) fl_hide_form( form );
fl_free_form( form );
}
/\(.*\)::~\(.*\)()/{
i\
{\
- if( form->visible ) fl_hide_form( form );\
+ if ( form->visible ) fl_hide_form( form );\
fl_free_form( form );\
}\
\