]> git.lyx.org Git - features.git/commitdiff
Some more fixes to compiler warnings.
authorAngus Leeming <leeming@lyx.org>
Thu, 28 Feb 2002 13:10:26 +0000 (13:10 +0000)
committerAngus Leeming <leeming@lyx.org>
Thu, 28 Feb 2002 13:10:26 +0000 (13:10 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3607 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insetgraphics.C

index a5c136d75525a5e11e8ce91dabd40225ce44e0f4..8f3d10be95594ea6f595321b80871f2434a97c6a 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * 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  <jug@sad.it>
 
        * insettabular.C (localDispatch): clear selection on PgUp/Down.
index a9d040a5595bec005589787fd5f86233800715b6..fe4da9b701476a3d02712d535ef524b2cb18e09e 100644 (file)
@@ -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)