diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index a5c136d755..8f3d10be95 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,8 @@ +2002-02-28 Angus Leeming + + * insetgraphics.C (c-tors): initialise parent classes explicitly in + copy c-tor and initialise member variables in the correct order. + 2002-02-28 Juergen Vigna * insettabular.C (localDispatch): clear selection on PgUp/Down. diff --git a/src/insets/insetgraphics.C b/src/insets/insetgraphics.C index a9d040a559..fe4da9b701 100644 --- a/src/insets/insetgraphics.C +++ b/src/insets/insetgraphics.C @@ -155,14 +155,17 @@ string const unique_id() InsetGraphics::InsetGraphics() - : cached_status_(grfx::ErrorUnknown), cache_filled_(false), - graphic_label(unique_id()) + : graphic_label(unique_id()), + cached_status_(grfx::ErrorUnknown), cache_filled_(false) + {} InsetGraphics::InsetGraphics(InsetGraphics const & ig, bool same_id) - : cached_status_(grfx::ErrorUnknown), cache_filled_(false), - graphic_label(unique_id()) + : Inset(ig, same_id), + SigC::Object(), + graphic_label(unique_id()), + cached_status_(grfx::ErrorUnknown), cache_filled_(false) { setParams(ig.params()); if (same_id)