]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.C
Added check for valid size to show().
[lyx.git] / src / buffer.C
index 84cf5e988277f83ca408c2065ed3a7fb00ce0244..85b52337a1eb97016f04af5df6ce48cfe9bf26c6 100644 (file)
@@ -178,8 +178,6 @@ public:
        /// name of the file the buffer is associated with.
        FileName filename;
 
-       Messages * messages;
-
        /** Set to true only when the file is fully loaded.
         *  Used to prevent the premature generation of previews
         *  and by the citation inset.
@@ -199,7 +197,7 @@ public:
 
 Buffer::Impl::Impl(Buffer & parent, FileName const & file, bool readonly_)
        : lyx_clean(true), bak_clean(true), unnamed(false), read_only(readonly_),
-         filename(file), messages(0), file_fully_loaded(false), inset(params),
+         filename(file), file_fully_loaded(false), inset(params),
          toc_backend(&parent)
 {
        inset.setAutoBreakRows(true);