]> git.lyx.org Git - features.git/commitdiff
Fix more member variable initialization order warnings from gcc.
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 29 Oct 2006 16:16:00 +0000 (16:16 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Sun, 29 Oct 2006 16:16:00 +0000 (16:16 +0000)
Does nobody care about this???

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15604 a592a061-630c-0410-9148-cb99ea01b6c8

src/BufferView.C
src/frontends/WorkArea.C

index a24a6229a83692ec286a037c32706236f9d38108..605f19b0ff234ef708f648bac70ea97ce3dadd6c 100644 (file)
@@ -123,7 +123,7 @@ T * getInsetByCode(LCursor & cur, InsetBase::Code code)
 
 
 BufferView::BufferView()
-       : buffer_(0), wh_(0), width_(0), height_(0),
+       : width_(0), height_(0), buffer_(0), wh_(0),
          cursor_(*this),
          multiparsel_cache_(false), anchor_ref_(0), offset_ref_(0),
          intl_(new Intl)
index aa522918116b36dfbfb825dbcb7171b09509356b..debb9d852cb8650a1dda29124e02c760f04ca989 100644 (file)
@@ -72,7 +72,7 @@ namespace frontend {
 
 WorkArea::WorkArea(int id, LyXView & lyx_view)
        : buffer_view_(0), lyx_view_(lyx_view), greyed_out_(true),
-         cursor_visible_(false), cursor_timeout_(400), id_(id)
+         id_(id), cursor_visible_(false), cursor_timeout_(400)
 {
        // Start loading the pixmap as soon as possible
        //if (lyxrc.show_banner) {