]> git.lyx.org Git - lyx.git/blobdiff - src/buffer.h
Fix natbib bug spotted by JMarc.
[lyx.git] / src / buffer.h
index e3fc7d69a6aaf80cb00b84badc41ed56dfdc37f4..acde4e5af0ca54df877ccfa5ca4ea8c07f9bb43a 100644 (file)
@@ -39,16 +39,6 @@ class ParIterator;
 class ParConstIterator;
 
 
-///
-struct DEPCLEAN {
-       ///
-       bool clean;
-       ///
-       string master;
-       ///
-       DEPCLEAN * next;
-};
-
 /** The buffer object.
   This is the buffer object. It contains all the informations about
   a document loaded into LyX. I am not sure if the class is complete or
@@ -308,6 +298,11 @@ public:
        AuthorList & authors();
 
 private:
+       typedef std::map<string, bool> DepClean;
+
+       /// need to regenerate .tex ?
+       DepClean dep_clean_;
        /// the author list
        AuthorList authorlist;
 
@@ -320,9 +315,6 @@ private:
        /// is this a unnamed file (New...)
        bool unnamed;
 
-       /// is regenerating #.tex# necessary
-       DEPCLEAN * dep_clean;
-
        /// buffer is r/o
        bool read_only;