Some more fixes to compiler warnings.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3607 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-02-28 13:10:26 +00:00
parent 58ad553455
commit 77866d9e88
2 changed files with 12 additions and 4 deletions

View 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.

View 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)