]> git.lyx.org Git - lyx.git/commitdiff
Fix uninitialised memory error.
authorAngus Leeming <leeming@lyx.org>
Wed, 12 Sep 2001 16:18:22 +0000 (16:18 +0000)
committerAngus Leeming <leeming@lyx.org>
Wed, 12 Sep 2001 16:18:22 +0000 (16:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2748 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/FormDocument.C

index a2bb28fd4a18b0727cbe835d91b1a8432e2267be..558463a54b7e922a3efd43d5c6e1516b5ef298b2 100644 (file)
@@ -5,6 +5,8 @@
 
 2001-09-12  Angus Leeming  <a.leeming@ic.ac.uk>
 
+       * FormDocument.C (c-tor): initialise some variables.
+
        * forms/form_citation.fd: remove spurious shortcut to a labelframe!
        (Thereby removing a warning message when the dialog is built.)
 
index 8b9be3c4732edc56d5547a8821055a4edb794cca..3f6469861bb035c05d15a8be3092b34e8908d0e3 100644 (file)
@@ -46,7 +46,9 @@ using Liason::setMinibuffer;
 using SigC::slot;
 
 FormDocument::FormDocument(LyXView * lv, Dialogs * d)
-       : FormBaseBD(lv, d, _("Document Layout")), fbullet(0)
+       : FormBaseBD(lv, d, _("Document Layout")),
+         ActCell(0), Confirmed(0),
+         current_bullet_panel(0), current_bullet_depth(0), fbullet(0)
 {
     // let the dialog be shown
     // This is a permanent connection so we won't bother